Dba_job that runs every saturday?

There is a bug in oracle 10.1.0.3 that causes issues when running the default analyzer with dbms_scheduler. Oracle records that I drop this and run it as a dba_job.
how do I scheduler it to run every saturday at 11 PM?
declare
  vout integer;
begin
dbms_job.submit(job=>vout,
what=>'begin dbms_stats.gather_database_stats(cascade => TRUE,method_opt => ''FOR ALL COLUMNS SIZE AUTO'',
degree=>8 ); end;',next_date=>to_date('11072009 23:00','DDMMYYYY HH24:MI'),
interval=>next_day(trunc(sysdate),'SATURDAY')+0/24);
end;
  2    3    4    5    6    7    8    9  declare
ERROR at line 1:
ORA-23319: parameter value "18-JUL-09" is not appropriate
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 134
ORA-06512: at line 4

Can you use crontab command ?
I think this will help and with less headache.
In your case it would be
0 23 * * 6 script ,path
Check this for more info.
http://www.adminschoice.com/docs/crontab.htm
Cheers
Edited by: [email protected] on Jul 13, 2009 2:42 PM

Similar Messages

  • Schedule something to run every Saturday?

    I'm new to the new scheduler in the 10g R2 database. I was trying to create a scheduleusing the Enterprise Manager web page that would run every Saturday night. I wasn't sure what to enter as the interval. When I entered 52 I got an Oracle error that there was an error in the interval syntax. Does anyone know what I need to do to set up a once a week schedule?

    Hi
    Mhmm... where did you enter 52?
    When you create a schedule you should set in the section "Repeating":
    Repeat: By Weeks
    Days of Week: Saturday
    Time: the time...
    HTH
    Chris

  • Dynamic date parameters for a scheduled report that runs every day

    I have a report that has input parameters for a start date and
    end date. The report will be scheduled to run once a day at a
    scheduled time. I need the report to automatically set the start
    date and end dates when the report runs at the scheduled time.
    When the report runs at the scheduled time, the end date needs
    to be set to that time and the start date needs to be set to 24
    hrs before the end date. I want the start and end dates to roll
    forward automatically when the scheduled report runs each day. I
    don't want any user intervention to change the start and end
    dates every day. How can I do this in a report ?
    Also, since the report is scheduled to run each day, I want the
    output to be saved to a unique file name each time the report is
    run as each day's report will report on the data only for that
    day. How can I get the report to save to a unique file name
    automatically each day ? Again, I don't want any user
    intervention where they would set the output file name manually.

    Try adding the following in the beforereport or beforepform
    trigger, before the RETURN clause (TRUNC gets rid of the time
    component of the date):
    :p_date_from := TRUNC(sysdate) - 1;
    :p_date_to := TRUNC(sysdate);
    :desname := 'REPORT'||TO_CHAR(sysdate, 'DDMMYYYY')||'.txt'
    Paul Williams

  • Schedule a Job that runs every week at 6:00am

    Hi Guys,
    How do I schedule a job to be executed once every week at 6:00am using the DBMS_JOB package.
    Cheers
    Message was edited by:
    s9968021

    Check the documentation for more details.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_job.htm#ARPLS019
    Example:
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
        ( job       => X
         ,what      => 'dbms_output.put_line(''processing a lot of things'');'
         ,next_date => to_date('24/12/2006 06:00:00','dd/mm/yyyy hh24:mi:ss')
         ,interval  => 'TRUNC(SYSDATE+7)'
         ,no_parse  => TRUE
      SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;

  • How to make function that runs every t (min) minutes?

    The only one idea i have is endless cycle with checking system time... Any other ideas?

    Timer and TimerTask classes.

  • Creating a simple batch job to run every month and perform a deletion

    dear all;
    This is just for learning purposes
    I have created a simple table below
    create table t1
      vid varchar2(30),
      quantity number(6,2),
      primary key (vid)
    insert into t1
        (vid, quantity)
    values
        ('G1', 2);
    insert into t1
        (vid, quantity)
    values
        ('G2', 3);
    insert into t1
        (vid, quantity)
    values
        ('G3', 0);Now, I would like to create a simple batch job, that runs every month which is used to delete all vid that has a quantity of 0...How do i go about doing that. I have searched the web but can't seems to find any useful info so far..
    Edited by: user13328581 on Sep 8, 2010 8:32 AM

    you are missing a semi-colon in your package procedure call inside your begin ... end.
    begin
      dbms_scheduler.create_job
        job_name => 'jobdeletezeroquantity'
        , program_name => 'PLSQL_BLOCK'
        , job_action => 'BEGIN mfg.testpkg.deletezeroquantity END;'             <-- missing semi-colon on mfg.testpkg.deletezeroquantity
        , start_date => systimestamp
        , repeat_interval => 'freq=monthly; byday = 1'
        , end_date => null
        , enabled => True
        , comments => 'used to run a delete procedure every month'
    end;should be:
    begin
      dbms_scheduler.create_job
        job_name => 'jobdeletezeroquantity'
        , program_name => 'PLSQL_BLOCK'
        , job_action => 'BEGIN mfg.testpkg.deletezeroquantity; END;'
        , start_date => systimestamp
        , repeat_interval => 'freq=monthly; byday = 1'
        , end_date => null
        , enabled => TRUE
        , comments => 'used to run a delete procedure every month'
    end;

  • How to run job every saturday 8p.m.

    I have run the job weekly i.e. every saturday 8pm
    could you pls advice me what I shoudl do in scheduler

    Hi Nav,
    Schedule it as a database job as below
    BEGIN
      --Create a schedule
      dbms_scheduler.create_schedule (schedule_name => 'RUN_EVERY_FRIDAY_800PM',  start_date=> trunc(sysdate)+18/24,  repeat_interval=> 'FREQ=DAILY; BYDAY=FRI; BYHOUR=20;', comments=>'Runtime: Run at 8pm every Friday'); 
      --Create a Program
      dbms_scheduler.create_program  (program_name=> 'My_Program',  program_type=> 'STORED_PROCEDURE',  program_action=> 'pkg_my.procedure1',  enabled=>true,  comments=>'Call Procedure1 procedure in pkg_my package' ); 
      --Use Schedular and program and create a job
      dbms_scheduler.create_job  (job_name => 'My_Job', program_name=> 'My_Program', schedule_name=>'RUN_EVERY_FRIDAY_800PM', enabled=>true,  auto_drop=>false,  comments=>'Run My_Program every friday 8pm');
    END; In above I have use 3 steps, Advantage of this is
    01. when you want to use same things for another job you can easily use it. For a example if you wnat to run anther program in "Every Friday 8pm" then you can use same scheduler for that job as well.
    02. If you use same schedule for multiple jobs and if you change that schedule, then all jobs whish were use that schedule will affect. So you can easily group jobs together.
    But if you wnat to run that progarm only ones then you can use below code to do that
    DBMS_SCHEDULER.create_job (
        job_name        => 'My_Job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'BEGIN pkg_my.procedure1; END;',
        start_date      =>  trunc(sysdate)+18/24,
        repeat_interval => 'FREQ=DAILY; BYDAY=FRI; BYHOUR=20;',
        end_date        => NULL,
        enabled         => TRUE,
        comments        => 'Run My_Program every friday 8pm');Thanks

  • Run a program every saturday night 12

    i want to run my program every Saturday night 12 anybody knows how can i do this

    hi,
    There are two ways for you to handle,
    one manually setting up the job through SM36 which is better and convinient,
    secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
      Find below steps in doing both:
    Procedure 1:
      1. Goto Trans -> SM36
      2. Define a job with the program and variant if any
      3. Click on start condition in application tool bar
      4. In the pop-up window, click on Date/Time
      5. Below you can see a check box "Periodic Job"
      6. Next click on Period Values
      7. Select "Other Period"
      8. Now give '15' for Minutes
      9. Save the job
    In SM37 u can check the status of the jobs that u have assigned to background...
    Here u mention the job name or the report name to check the status of the job...
    After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
    the status colud be released,active,finished etc..
    Procedure 2 via Program:
    Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
    DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
          L_RELEASE(1) TYPE c.
       CALL FUNCTION 'JOB_OPEN'
         EXPORTING
           JOBNAME                = 'ZTEMP2'
        IMPORTING
          JOBCOUNT               = P_JOBCNT
        EXCEPTIONS
          CANT_CREATE_JOB        = 1
          INVALID_JOB_DATA       = 2
          JOBNAME_MISSING        = 3
          OTHERS                 = 4.
       IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
              TO SAP-SPOOL WITHOUT SPOOL DYNPRO
              WITH DESTINATION = 'HPMISPRT'
              WITH IMMEDIATELY = SPACE
              WITH KEEP_IN_SPOOL = 'X' AND RETURN.
       CALL FUNCTION 'JOB_CLOSE'
         EXPORTING
           JOBCOUNT                          = P_JOBCNT
           JOBNAME                           = 'ZTEMP2'
           STRTIMMED                         = 'X'
           PRDMINS                          = 15
        IMPORTING
          JOB_WAS_RELEASED                  = L_RELEASE
        EXCEPTIONS
          CANT_START_IMMEDIATE              = 1
          INVALID_STARTDATE                 = 2
          JOBNAME_MISSING                   = 3
          JOB_CLOSE_FAILED                  = 4
          JOB_NOSTEPS                       = 5
          JOB_NOTEX                         = 6
          LOCK_FAILED                       = 7
          INVALID_TARGET                    = 8
          OTHERS                            = 9.
       IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    Hope the above helps you.
    Regards
    Anversha

  • I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?

    I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?
    I have a 250 gig drive and try to keep at least 100 gigs unused at all times, 4 GB 667 MHz DDR2 SDRAM memory, back up with Time Machine and CrashPlan, and have OS X 10.7.3.
    This was my first Mac since an old Apple II GS.  After that I used PC's and got really good at reformatting, replacing drives, reinstalling, defragging, resolving software conflicts, etc.  Since switching back to Macs (five in my extended family now), I haven't had to do any of those things. So, although, the cost is three times as much, the aggrevation has been ten times less.
    I'm retired and living on a fixed income and would therefore like to keep this computer running as opposed to constatntly upgrading.
    That said, any tips?
    Thanks
    It does have a crack on the left of the screen case about 3/4'' up from the bottom.  I've posted that as another question.

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. Drive Genius provides additional tools not found in Disk Warrior.  Versions 1.5.1 and later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Adding more RAM, if feasible, and a new, faster hard drive may also help pep it up a little.

  • Flash swf that runs on every browser except in Firefox. Can anyone help me please?

    Hello.
    I have an flash swf in a site that runs on every browser except in Firefox. I get an warning telling me that the page requires a newer version of flash player but i already have the 10,0,32,18 and the swf was published for flash player 9.
    Can anyone help me please?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

  • Function module that runs for every info package

    Hi,
    Please can you give me name of function module that runs for every info package irrespective of data source.
    Cheers,
    Reddy.

    use below function module
    RSSM_SDL_START_INFOPACKAGE

  • My Xserve does not wake up every Saturday from a cold start / cold boot up.

    Hello, everyone,
    This is my first time using this Apple Discussions Forum here and so hope any expert out there who can solve my problem, I'd deeply appreciated. Basically the problem is like this.
    I configured Xserve to
    wake up 8:50 am wake up every morning.
    shut down system 1:00 am every morning.
    There are two places to be configured here:
    1. System Preferences' Energy Saver
    2. Workgroup Manager>Computer List>Preferences> Schedules>Mac OS X Server.
    The time schedules in those two places are ensured to be at the same setting.
    (does anyone know which is the main one?)
    Furthermore,
    I have a clock timer set to 2:00 am to shut down the main power supply to the Xserve. And so,
    Power Supply timer provides power to Xserve:
    8:40 am every morning (before scheduled Xserve waking up time, 8:50 am)
    Power supply cut down the power to Xserve:
    2:00 am every morning (after scheduled Xserve shutting down time, 1:00 am)
    Why am I doing this? Because I think it is good for Xserve's power supply fan. If I let Xserve's power supply run 24/7 for years, the motor is wearing down soon. It also saves some energy for me.
    Normally the power supply would first provides the power to Xserve before Xserve would boot up as scheduled.
    Now, this setting works pretty well for me for months until recently.
    My Xserve will not boot up every Saturday morning as scheduled. I cannot figure out why it does this weird behavior.
    I tried to search forums and google many many places, and find no solution.
    Here are a list of things I have tried:
    I changed 2 new PRAM battery twice in one month.
    I have tried to reset SMC.
    I have tried to reset PRAM.
    I tried to reset PRAM before SMC reset. I also tried to reset SMC before PRAM reset.
    Worse yet, on Saturday morning, Xserve is like in a deep coma, I tried to remotely boot it up by LOM, it does not even respond to my LOM waking up call. It is like a naughty kid refusing to wake up in the Saturday morning. The only way to wake it up is that I I have to take a long walk and physically go to my Xserve and hold the power button for 5 seconds and press it again and so it wakes up. Note that if I just press the power button once, it does not boot up neither. Why?
    Then the next day, it is normal again for another 6 days until next Saturday. I could not figure out why it does this. Why just Saturday? Why not Sunday or any other day between Monday to Friday?
    Funny and strange behavior.
    The problem is periodic and so I believe it has something to do with the software and/or the PRAM caching the alarm time, which may influence the SMC setting.
    Note: the Apple website says SMC controls the waking time while Apple manual also says PRAM is responsible for alarm clock.
    I would normally
    shut down system
    unplug the cable
    hold the power button for 5 seconds and let it go
    plug back the power cable.
    Xserve should either boot up by itself or stay cold for me to boot up.
    note: the manual just say unplug the cable for 5 sec but did not say hold the power button for 5 second, and I think that is wrong; you have indeed have to hold the power button for 5 seconds as the Apple website said. Otherwise when I cut down power supply every day, my SMC is reset by itself every day.
    I have a voltage regulator before my Xserve's power supply and so the voltage is very stable.
    Any Xserve experts out there has the same problem like I do??

    Hi, MrHoffman , I couldn't agree more with your view point. Xserve not only reacts poorly to sudden power shortage, its HDDs may also get hurt during sudden power removal. Therefore, I was extremely careful when resetting SMC. Bad SMC procedure can hurt HDD.
    MrHoffman , my problem is not totally solved and you knew I will come back, right? I do accidentally find your blog. Is the site yours?
    http://labs.hoffmanlabs.com/node/976
    Your blog and threads from here has inspired me to investigate in the direction on LOM issue. Thank you.
    http://discussions.apple.com/thread.jspa?messageID=11911509
    http://discussions.info.apple.com/message.jspa?messageID=11902981
    http://discussions.apple.com/thread.jspa?messageID=11255905&#11255905
    I've come to narrow down the problem and suspect the root cause is LOM bug. Basically this is what happens in the last 4 days.
    After nearly 3 weeks of monitoring my Xserve, it was running perfectly normal until 4 days ago. Suddenly, my Xserve fails to wake up for 4 days in a row. I almost made it---a perfect run for 1 month without ever having to reset SMC once! This time, the failed waking-up event took place during normal weekdays. So it is still a mystery to me that why my Xserve previously fails to wake up only on Saturday (perhaps, hackers prefer Saturday because that's when they are free?---just kidding). However, at least I now know the problem can take place at anytime.
    Maybe I should first list my Xserve's specification.
    Xserve Late 2006 Model
    2.0 GHz Dual-Core Intel Xeon
    8G RAM
    Mac OS X Leopard Server 10.5.8 (Build 9L34)
    Boot ROM: XS11.0080.B01
    LOM version: 1.2.8
    I am only using en0 for both LAN and LOM.
    So since I was not able to wake up my Xserve remotely by LOM, it is intuitive to check Server Monitor on Xserve side.
    On my Xserve side, I had
    Name: Nothing (it was localhost)
    IP Address: 127.0.0.1
    Status Summary: Software is not installed properly on server.
    At this point, I was wondering where did my Status Summary go? So as an incentive move, I delete the 127.0.0.1 from Server Monitor list and go to >Server Monitor>Server>Configure Local Machine, trying to re-add the localhost server back to Server Monitor list. Then it is when all of the troubles occur.
    The Server Monitor simply hangs there. When check Finder>Force Quit Applications, I see Server Monitor (not responding).
    So I was questioning myself that if this failed waking-up event is a software issue or a hardware sensor issue. Before answering to this question, as a good habit, let me post my log file.
    Jul 31 13:27:06 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:27:36: --- last message repeated 4 times ---
    Jul 31 13:27:40 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:28:10: --- last message repeated 4 times ---
    Jul 31 13:28:15 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:28:45: --- last message repeated 4 times ---
    Jul 31 13:28:49 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:29:19: --- last message repeated 4 times ---
    Jul 31 13:29:23 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:29:53: --- last message repeated 4 times ---
    Jul 31 13:29:58 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:30:21: --- last message repeated 3 times ---
    Jul 31 13:30:21 xserve01 /usr/sbin/spindump[2056]: process 2006 is being monitored
    Jul 31 13:30:23 xserve01 /usr/sbin/spindump[2056]: process 2006 is being force quit
    Jul 31 13:30:26 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:30:29 xserve01 /usr/sbin/spindump[2056]: process 2006 is being no longer being monitored
    Jul 31 13:30:33 xserve01 kernel[0]: AppleKCS::waitForIBF timed out!
    Jul 31 13:30:32 xserve01 com.apple.launchd[250] ([0x0-0x27027].com.apple.servermonitor[2006]): Exited: Killed
    Hardly can I find any reference about AppleKCS::waitForIBF timed out! on Google. So any senior Apple Xserve engineer please helps!

  • Plan a daily load not run on Saturdays

    Hi Gurus,
    I need to plan a process chain to run every day except Saturdays.
    Do not know how to plan the job, as the only option that I like what I need, is execution on a daily, and the restriction of "Do not run on Sundays and public holidays."
    But this option is not worth me, because on Sundays and holidays if I want to run, I just want to exclude Saturdays.
    Sincerely,

    Hello,
    I think you can create an ABAP program to check the week day based on date.
    Make use of FM 'DATE_COMPUTE_DAy'.
    If its sat, then use FM 'RSPC_API_CHAIN_START' to trigger ur PC.
    Now schedule the abap program to run daily.
    Regards,
    Shashank

  • Schedule Job to run every day at 01:00:00 i.e. mid-night 01:00 AM

    Dear Gurus,
    I want to create a job that will run every day at 01:00:00 i.e. mid-night 01:00 AM.
    and the above job will be started from 2-Jul-2010 01:00:00
    I have created below code.
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB(
    JOB_NAME => 'Smry_Dly_Trial'
    ,JOB_TYPE => 'PLSQL_BLOCK'
    ,JOB_ACTION => 'BEGIN Periodic.Execute_Smry_Job(''HOURLY''); END;'
    ,START_DATE => to_date('2-Jul-2010 01:00:00','DD-Mon-YYYY HH24:MI:SS')
    ,REPEAT_INTERVAL => 'FREQ=DAILY; BYDAY=MON,TUE,WED,THU,FRI,SAT,SUN; BYHOUR=1;'
    ,ENABLED => TRUE
    ,COMMENTS => 'Generates Call Summary Daily');
    END;
    Could any one suggest me is it fine or any change needed.
    Regards
    Sanjeev

    Seems fine.
    You could also use trunc(to_date('01-jul-2010'))+1+1/24 for your start date.
    Regards,
    Amol

  • HOW TO SCHEDULE A JOB TO RUN EVERY 30 MINS WITHOUT USING SCHEDULAR?

    Hi,
    I have a requirement where i need to schedule the job to run every 30 mins for 10 am to 10 pm. I ran into problems using odi schedular. Let me tell you what i did..
    i have chosen the active mode between 10 am to 10 pm
    selected on startup/simple.
    and on the repetitions tab selected many times with 30 mins duration.
    the problem was-----
    a)it was not stopping at 10 pm but continues after 10 pm
    b)randomly picking up more times than the 1/2 hour duration.
    looking for---
    a solution that runs my scenario every 30 mins from 10 am to 10 pm without using the schedular...which i cannot trust.
    Regards
    Venkat

    Venkat,
    Here is an alternate solution that i can think of:
    create a package with the following components:
    Variable(Refresh) -> OK -> Execute StartScen(YourJob) in Asynchronous mode -> odiSleep(30 mins) -> Loop to Variable Refresh
    Variable (Refresh) -> KO -> odiSleep(30 mins) {if the refresh of the variable fails to get any value then skip the Job execution}
    The Refresh query should be
    select 1 from dual where to_char(sysdate, 'hh24mi') between  '1000' and '2200'

Maybe you are looking for

  • HP Photosmart Premium C309g-m Printer

    I have an HP-Photosmart Premium C309g-m printer . I put in new ink will it not print correctly. The color is so light it is impossible to read. Also when I trouble shoot I am told the cartridges ware not aligned.Have tried to align and it wont. My co

  • Unable to view PDF files in web browser iphone4s

    I am having problems with viewing PDF files on iphone4s. I used to be able to view the PDF files in the web browser (mobile and desktop)but now I can't . I am using hotmail.co.uk account. I can view the PDF file on the 'Mail' app on the the iphone, b

  • How to install reader & patches via GPO?

    I need to know the proper way to install Adobe Reader via GPO, as well as what to do about patches when they come out? I have seen too many different ways online, I'd like an official way. Thank you in advance.

  • Best practises Subversion and Data modeler

    hello, i'am looking for some best practises regarding subversion and datamodeler. A team of 10 analysts create several releases of our product over time. Within one release you'll find several change requests. The application itself contains about 70

  • Applescript/Automator iPad restore?

    I work for the educational technology department at a college, and we've begun issuing iPads to our faculty. I'm looking for an easy way to to restore the iPad through an applescript or automator workflow (preferrably that can be kicked off by simply