Prevent the scheduler from submitting jobs after recovering from a crash

Hi,
I have a situation where I have set up secific jobs to run at 11:00 pm every night. These jobs should only run at this time and not during the day. These jobs typically run for about an hour. If my DBMS server is down at 11:00 pm, and when the server is subsequently brought back up the next day, i see that these jobs are submitted by the scheduler. How can I prevent this?
Thanks,
SV

Hi,
The documented way of doing this is to set the schedule_limit attribute of the job. This sets a max interval after a scheduled job will not be run (just rescheduled).
However, you may run into a bug (#6331177) which prevents schedule_limit from taking effect after database downtime for a recurring job. As a possible workaround a job can query its own REQ_START_DATE and ACTUAL_START_DATE from the all_scheduler_running_jobs view and immediately exit if the difference exceeds some time limit (as it would in the case of database downtime).
Hope this helps,
Ravi.

Similar Messages

  • How stop the automatic statistics collection job after the maintenance wind

    Hi,
    we are for a solution to stop the automatic statistics collection job after the maintenance window finished.
    we disable all jobs except the automatic statistics collection, because this is the only one we want to run. Then we define specific values for the interval and duration parameters of the maintenance window to customize this task.
    But for their systems it is very important that this job/task will immediately stop when the window is closed!!!
    So, how could we ensure this behavior.
    For Oracle 10g it is easy because the statistic job always exists and it is possible to set its duration and create an addtional event based job which kills all jobs that are running over duration.
    In Oracle 11g the statistic job is created by the system during the maintenance window is open.
    We are not able to modify parameters of this system job. After the maintenance window closed the job is already running - only with another resource priority - but it is running.
    Please help me in this scenario
    Thanks&Regards
    Prem

    ?So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run, but i see tables are updated still the job is not running. I did >query dba_scheduler_jobs and the state of the job is true and scheduled. Please see my previous post on the output
    Am i missing anything here, do i look for some parameters settings
    So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run,GATHER_STATS_JOB will run and if there are any table in which there's a 10 percent change in data, it will gather statistics on that table. If no table data have changes less than 10 percent, it will not gather statistics.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41282
    Hope this helps.
    -Anantha

  • -- A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system using window 7  IE 11

    A file association problem exists, which prevents the file you're trying to download from being associated with the correct application by the operating system
    USING WINDOW 7  IE 11  HOW CAN I FIX???

    Try downloading the offline installers:
    Adobe Reader
    Flash Player for Internet Exporer - ActiveX
    Flash Player for Firefox - NPAPI

  • Help with : How Can I know the schedule for a JOB, and How Can I Change?

    Hi
       I have a job and I know the name...I review in table TBTCO and I saw that this jobs is schedule at 11:00 AM and at 4:00 PM, but I need to change the schedule for this job..and that this job will execute al least four times during the day...I don´t know how can I change the schedule??
        I was thinking that if I  run the transaction directly I can run, Im not sure, because I try to do in QAS environment... I when I try to run the program..the system doesn´t do anything..this mean I cant execute with F8, such as if I should be complete a parameter, but all the fields are completed.
         Thank you for your help, I promese that I will gice you points for your help.
    Alice

    Thank you at all.
    I was reviewing the options that you send me, but Im confused about... if its possible edit the schedule that this job has in this moment, because if I enter the transaction SM36 or try to see SM37..in production environment I can´t see this schedule...
    And Im not sure to do the correct steps to create something new... in QAS environment..I can´´t see this job.
    All of yours help are really important
    Thank you again!
    Alice

  • All of my music was erased from my computer after my hard drive crashed and I don't want to spend the time uploading all of my old CDs to my computer.  If I plug in my iPhone with all of my current music on it, will it sync to my computer?

    All of my music was erased from my computer after my hard drive crashed and I don't want to spend the time uploading all of my old CDs to my computer.  If I plug in my iPhone with all of my current music on it, will it sync to my computer?

    This user tip should be helpful too.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • How can i delete photos from iphone 4s after transferring from pc?

    How can I delete photos from iphone 4s after transferring from pc?

    acapetown is the one who really solved this for me: his suggestion to create an empty folder and sync to that was THE ONLY solution that actually worked for my iphone 4s. Everything else about uncheckign "sync" and unchecking events DID NOT WORK. I think there is more than one glitch in this system because I noticed a lot of other people struggling with the question. Now my phone is light as a feather again and I can actually benefit from backup to the Cloud. Thanks acapetown!

  • How do I recover tunes from my iPod after a hard disk crash?

    I've just received my PowerMac back after a hard disk crash and am having to reinstall all software etc.
    My iPod obviously contains all the music I'd downloaded from the iTunes music store and all the CD's I'd loaded manually into iTunes.
    I can't see any way of copying the tunes on my iPod back into my iTunes library...
    Can anyone help?
    I had to use a data recovery tool to recover data from my disk after the crash and it's going to be a really long job to sort out what's what...
    JJ

    You can't sync or drag your music back from an iPod to iTunes, the transfer of music is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the files from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward. I use Senuti but check the others out and choose whichever you prefer.
    Senuti Mac Only
    iPodRip Mac Only
    PodWorks Mac Only
    iPod.iTunes Mac Only
    iPod Access Mac and Windows Versions
    YamiPod Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions

  • Recovering data from Time Capsule after conversion from Snow Leopard to Lion

    Had a problem with my iMac, which was running Snow Leopard O/S.  Data was backed up on Time Capsule using Time Machine, although recent back-ups had failed (but earlier back-ups had been OK).  Apple support determined that I needed to re-install the O/S and they walked me through it.  After blowing away all data (believing that once O/S reinstalled, could recover from Time Capsule), the reinstall failed.  Took to Apple store, where they installed Lion at my request.  Then tried to recover from Time Capsule, but couldn't do so.  Sparse file doesn't work (it shows 10GB, which is wrong as it had several hundred GB's before due to lots of photos).  Apple Support couldn't solve issue, believes it was corrupted with the last backup.  Ultimately recommended that I have professional data recovery service recover data from the iMac hard-drive (as opposed to Time Capsule).  Spoke to recovery service recommended by Apple, and it is very expensive (also, given the O/S reinstall, anything they recover will have new file names and no directory structure).  They also said getting data off the Time Capsule is even more difficult and expensive to recover.  I'm not a happy camper. 
    I would welcome any thoughts on what to do.  FWIW, I live in South Florida and there appear to be lots of data recovery companies locally, but Apple support had said that they have only a few authorized vendors that can do it without voiding warranty, so I'm reluctant to even call them.  Thanks.  Steve

    Your backups may be corrupted.
    Try to repair them, via Disk Utility (in your Applications/Utilities folder).
    Mount the sparse bundle by opening the TC in the Finder and double-clicking on the sparse bundle. Drag the sparse bundle into Disk Utility's sidebar, and do a +*Repair Disk*+ (not permissions) on it. If it finds errors it can't fix, run it again (and again), until it either fixes them all, or can't fix any more.

  • How can i modifty the schedule of a Job in R3

    Hi all,
    i must modify the Schedule and the Variant of a job in R3, whats the transacction? i just know the name of the Job "JOB COSTOS FLEXIBLES", whats the first step? i m looking for this job in the SM36 but doesnt appear to modify, just tocreate new one, but i dont want this, i want modify the schedule and the variant, please help guys

    Place cursor (mouse) on the job name in SM36 or SM37 and hit Ctrl + F11.

  • Install from Recovery partition after upgrade from 10.9

    Hi all, on my MacBook 13" nov. 2012 I upgraded from Mavericks to Yosemite using the standard upgrade.
    After a couple of days I decided to perform a clean install:
    - formatted "Macintosh HD Partition"
    - rebooted with cmd+R
    - reinstalled from recovery partition.
    Is this really a clean install or my recovery partition contains pieces of the old Mavericks?
    Thanks in advance for answering
    Paolo

    paolo_italy wrote:
    First I upgraded from Mavericks to Yosemite (with no erase). Then I  booted from recovery partition, erased Macintosh HD partition and installed Yosemite.
    My question is: did I perform a really clean install or to be sure I had to erase the entire disk and recover from the Internet?
    Paolo
    You performed a clean install of OS X Yosemite.
    You were in the Yosemite Recovery HD.
    You erased the Macintosh HD which erases the previous OS install, user accounts and data files -- everything! Then you reinstalled JUST OS X Yosemite.

  • Cannot delete files from hard disk (after deleting from playlists)!

    all of a sudden itunes stopped allowing me to automatically delete (with the warning) a downloaded podcast so I would have to go to the hard disk manually to delte the posdcast.
    How do I get the system back to what it was where I delete a podcast and then get the warning and say ok to delete from hard disk?
    TIA!

    Hi Chris:
    2 part response:
    I founf the problem--somehow my itunes folder was moved to a different part of my hard drive--once I moved it back I can delete.
    I can delete as follows: when I right click and click on delete, I first delete the file from itunes library--then I get prompted if I want to delete from my hard disk by sending file to recycle bin--There is also a prompt if I do not want to see the warning--which I have on as a safety precaution. So I bet the default could remove from playlist and send file to recycle bin in one move.

  • Can't export from v5.3 after upgrade from v3.6

    More detail to the question I posted yesterday which wasn't replied to. I've been using v3.6 on a windows 7 PC for about 2 years. I've recently upgraded to v5.3 on the PC and at the same time have installed v5.3 on my laptop also running windows 7. On the laptop using a few new images: the smart preview, exporting and web functions work fine. On the original PC which has my original catalogue of c17K images these three functions do not work. As far as I can tell the association between the masters and the images in the library has not been lost. The library and develop functions in v5.3 are working on all the c17K images in the original catalogue.
    I've set the Export dialogue box up using recommendations from answers I've gleened form other discussions in the forum eg; making sure the 'do nothing' flag is active in the post processing section and reducing the quality of the JPEG image. Still when I export nothing happens. Does anyone have any similar experience please?

    JimHess
    I've split it into 4 to make it readable hope this works
    Cheers

  • I want to prevent the message "your plugins are not uptodate" from appearing after each refresh of the browserpage

    Yes, I know I have a 7 year old iMac with a stone-age CPU.
    Yes, I know the OS X 10.4 is outdated.
    Yes, I am aware that my version of Firefox is no longer supported.
    Yes, I know that some of the plug-ins are outdated.
    But the system works well enough for me, believe it or not, and on this hardware newer versions just don't work. So why remind me every time I refresh the browserpage of these obvious facts? This is extremely annoying, very user-unfriendly.... (I almost used words that should never be used in the public space.)
    This way of pushing people into abandoning something that is still perfectly workable does in my mind not correspond with the values that Apple and/or Mozilla say to maintain, things like "focussing on user satisfaction" and "taking care for the environment".
    Please tell me how to switch off these messages. Do not suggest me to install Ubuntu on my Mac. I am about to do that already.
    Thanks in advance, fellows.
    P.S. Those nasty people that might try to hack my machine do not need to know which plugins and versions are on it, so I don't list them here. If they bother to find out, they probably know more details already than I can provide.

    Also, for program update reminders, you could try:
    Firefox > Preferences > Advanced > Update - set to "never check"
    If that doesn't work, I believe there is a little update history file you can delete, but I'd have to search for more info on that.

  • "The query was cancelled" error after upgrade from 10.1.3.3.3 to 10.1.3.4.2

    Hi,
    I was using OBIEE 10.1.3.3.3 /. After upgrading to 10.1.3.4.2 , the queries are not running ( long running queries alone) as expected. and so all the campaigns iwh tlong running queries are cancelled and the error message is seen in the xml log in Marketing jobs management.
    We have upgraded the OBIEE version from 10.1.3.3.3 to 10.1.3.4.2 yesterday after which the connectivites have been checked with SQLPLUS and they are working fine. But when the campaign has been loaded, the Analytics have received the request for the segment query and after longer run, the task has been cancelled with the error message "The Query was cancelled as mentioned below in the Job Stats
    <jobStats>
    <jobID>2</jobID>
    <jobType>WriteListFiles</jobType>
    <jobUser>userid</jobUser>
    <jobState>Error</jobState>
    <jobTotalMilliSec>1h 41m 21s 160ms</jobTotalMilliSec>
    <jobStartedTime>2012-03-22T08:06:13Z</jobStartedTime>
    <jobFinishedTime>2012-03-22T09:47:34Z</jobFinishedTime>
    <jobIsCancelling>N</jobIsCancelling>
    - <exception>
    <message>Job request of type "WriteListFiles" failed.</message>
    - <exception>
    <message>Error executing the list generation SQL.</message>
    - <exception>
    <message>Error in executing cursor for WorkNode (Id:0)</message>
    - <exception>
    <message>The query was cancelled.</message>
    </exception>
    </exception>
    </exception>
    </exception>
    </jobStats>
    Please let us know the suggestions
    So far, the unaccessedtimingrunoutminutes tag has been tried to set 50 under ODBC tag in instanceconfig.xml. and the defaulttimeoutminutes has been tried to set to 150 in the same instanceconfig.xml.
    along with that the rpd changes are done. For all the users apart from the Administrator, the timeout has been changedfrom 10 minutes to 150 minutes. But still that way is not working.
    The segments was fired with the Administrator login. So , if the timeout for admin login can be set, i assume that the problem might be solved. Please let us know ur suggestions here too.
    If that is the case, when we open rpd , only for Administrator user and group, the Permissions button is disabled. So i want to know how to change for Admin user settings in rpd..
    Please advice us on the same.
    Regards,
    Madasamy M.
    Edited by: Madasamy Murugaboobathi on Mar 26, 2012 1:40 PM

    The issue has been resolved by setting the following parameters
    <UnaccessedRunningTimeoutMinutes>120</UnaccessedRunningTimeoutMinutes>
    <DefaultTimeoutMinutes>120</DefaultTimeoutMinutes>
    <ClientSessionExpireMinutes>120</ClientSessionExpireMinutes>
    <ConnectionExpireMinutes>120</ConnectionExpireMinutes>
    <UIDefaultTimeoutMinutes>1440</UIDefaultTimeoutMinutes>

  • How to schedule perioding BG job after job

    My requirement is i need to schedule periodic job on daily basis, suppose i have 2 jobs A and B...then i need to start job B only and only if job A is finished..
    Can you please guide me..

    You cannot specify a job as "periodic" if it is scheduled to start after a job. Refer [http://help.sap.com/saphelp_nw04/helpdata/en/20/2d513897110872e10000009b38f889/content.htm]
    You can achieve in 2 ways:
    1. Create a single job & define 2 steps.
    2. Use SAP Event to trigger the second job. At the end of the first job raise an event which will trigger the first job.
    BR,
    Suhas

Maybe you are looking for