BackgroundJobs - one at a time

Hello All
I want to execute 2 or more jobs such that at a time only one of the jobs can be active. How do I acheive this? All jobs have the same job name and execute the same report but with different parameters.
Parameters PRED_JOBNAME, PREDJOB_CHECKSTAT can't be used beacuse these jobs are scheduled from the UI an we are not sure if there are already jobs in 'Scehduled' or 'Active' state.
Locks are one way but is there any other more efficient way to do this within the job API?
I will surely award points for any helpful pointers.
Regards,
Sumanth

Hi!
You might define all programs into ONE job with more jobsteps. A jobstep is performed only AFTER when the previous jobstep is finished. With this way they will run after each other.
Regards
Tamá

Similar Messages

  • How can I delete repeats in my iPhoto library without going one at a time?

    I have been trying to clean up my iphoto library, and find that many of my imports have been repeated in different places. Is there a way to clean out repeat photos so there aren't so many of the same ones without having to do so one at a time?

    You can use any one of these applications to identify and remove duplicate photos from an iPhoto Library:
    iPhoto Library Manager - $29.95
    Duplicate Cleaner for iPhoto - free - was able to recognize the duplicated HDR and normal files from an iPhone shooting in HDR. 
    Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when an iPhoto 8 or earlier library has been imported into another.
    PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
    PhotoDedupo  - $4.99 (App Store) - this app has a "similar" search feature which is like PhotoSweeper's bitmap comparison.  It found all duplicates.
    DeCloner - $19.95 - can find dupicates in iPhoto Libraries or in folders on the HD.
    Some users have reported that PhotoSweeper did the best in finding all of the dups in their library: i photo has duplicated many photos, how...: Apple Support Communities.
    If you have an iPhone and have it set to keep the normal photo when shooting HDR photos the two image files that are created will be duplicates in a manner of speaking (same image) but the only diplicate finder app that detected the iPhone HDR and normal photos as being duplicates was PhotoSweeper.  None of the other apps detected those two files as being duplicates as they look for file name as well as other attributes and the two files from the iPhone have diffferent file names.
    iPLM, however, is the best all around iPhoto utility as it can do so much more than just find duplicates.  IMO it's a must have tool if using iPhoto.
    OT

  • How can I quickly get the same album art for all tracks on an album without manually doing them one at a time?

    I am having trouble with album art linked to each track. My library is ripped from my own cd's and ITunes only provides some of the artwork from a find artwork search. The rest must be found and added one at a time manually from web. This process is tedious and time consuming for me. Is there a file in iTunes related to each album that I can just drop the art once and it shows up linked to all the tracks from that album when they play? I've tried selecting all songs from an album and dragging the artwork to the artwork window once in hopes of all tracks getting the artwork at the same time with no luck. Any advice for this paltry artwork dilemma would be appreciated. If Cassidy & Greene still owned this ******* child of SoundJam I know I would not be having this problem! HaHa...Thanks for any advice/help with this problem.

    Thx 4 quick reply alexbird. Your method will work and after a little experimenting so will this: Just go to the album art view option and highlight the album you want artwork for. Drag the artwork from your album art web search page to bottom left hand album art window in iTunes and just drop it there. A small progress window then appears showing each album track adopting the dropped artwork one by one. It only takes 10-15 seconds for all of the tracks on your album to adopt the new artwork. I then went back and removed unwanted artwork(from the albums that had it) track by track from the get info menu. This goes pretty quick as you just pick track>get info>artwork>highlight art>delete>ok for each track.
    This drag/drop to the album art view page has been the simplest and most effective way I have discovered to manually import album artwork into iTunes so far. Hope this helps someone else out there. Any other methods or suggestions to do this task added to this thread will be duly noted. Thx... Oh, I am currently using iTunes 10.5.1

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • Airport Express extends 5 Ghz and 2.4 Ghz or just one at a time?

    I recently switched my dual band Time Capsule to use different names for the 5 Ghz and 2.4 Ghz networks.
    Will the Airport Express extend both or just one at a time, if so, which one will it extend?
    I have two Airport Express modules, bought a long time apart, is there any difference in functionality and how do I tell them apart if this is the case?
    All are running the most recent firmware version.

    Welcome to the discussion area, Mike!
    Will the Airport Express extend both or just one at a time, if so, which one will it extend?
    The AirPort Express is a single band device, so it can extend either the 2.4 GHz or 5 GHz band, +but not both at the same time+. Since you have different names for the 5 GHz and 2.4 GHz bands, the Express will extend the 2.4 GHz band by default. Using AirPort Utility, the setup application for the AirPorts, it is possible to configure the AirPort Express to extend either band.
    If you are perhaps thinking of extending the 5 GHz band, this can be a bit tricky because 5 GHZ signals do not travel effectively over distance or penetrate obstructions as well as 2.4 GHz signals. You almost have to have a line-of-sight relationship between the Time Capsule and the AirPort Express to be able to extend the 5 GHz band.
    I have two Airport Express modules, bought a long time apart, is there any difference in functionality and how do I tell them apart if this is the case?
    Look on the side of the AirPort Express for the model number in the small print. You'll need Model No A 1264 to be able to "extend". If you have the older Model No A 1084, that version will not be able to "extend" a wireless network, but you could use it to "join" the wireless network and stream AirTunes to the device.
    All are running the most recent firmware version.
    That would be 7.5.2. If you have the older version of the AirPort Express, the latest firmware version for that device would be 6.3.
    Message was edited by: Bob Timmons

  • Dynamically loading images?One at a time :(

    codeworld....help...sos.....send in more troops....the titanic is sinking.....
    The problem:
    I am trying to load dynamic images in order without all of them attempting to load at once....
    I have an array of images that I loop through depending on the gallery that will load up....but when i loop through the images all of them try to load.
    What i need to happen is somewhere in the loop i guess....each image fully load....then goto the next image and fully load.....etc.....
    Basically each image load one at a time in order......and the list is dynamic so uhhhhh HELP ......????
    save narnia....save tinseltown.....awww hell sacrifice yo self and just save me .....

    ok ok......one of these i'm going to make work
    ....thanx for all the help....
    this is kinda the basics of how i got the method looking that i will change
    for(var i=0; i<listArray.length; i++)
                   //picListLoader is a custom class......its just the loaded picture and some variables attached to it.....
                    var picture:picListLoader = new picListLoader(pID, ptitle, pdesc, picURL, i );
                    picArray.push(picture);
                    addChild(picture);
    i think instead of calling the class to create the individual objects......
    i'm going to create a gallery object......and send in the info....and once all of the picture's urls and info is loaded into the object tell the gallery object to load each one of the pictures using one of the methods above......and that should cure my ills
    smallville was saved once again................byMe... ...selfGlory..... .......(ok....saved by yall) thx a million
    thelegendaryghost

  • Multiple file uploads, or only one at a time?

    I have multiple files in folders on my iPad.  I want to upload entire folders of documents.  So far I have only been able to upload one document at a time.  Then after uploading, I have to put them in acrobat.com folders one document at a time.  It is very time consuming.  Is there any way to upload multiple files at one time?  Once the documents are uploaded, is it possible to move multiple documents into a folder at one time?  Or does each document have to be a separate upload action, and each move into folder a separate document-by-document one at a time?

    On my iPad I have been opening and saving pdf's in Adobe Reader.  I would like to upload these pdf files from the iPad Adobe Reader to acrobat.com.  I have thus far been uploading them from the iPad one fie at a time.  It is very slow and tedious.  There is also no way to get multiple pdf files from the iPad Adobe Reader to a computer except one file at a time.  So it seems that once I used the iPad Adobe Reader app to save the files, I am stuck with one file at a time movement.  I did, however, find that once I get files to acrobat.com, I can move multiples files at a time into folders on acrobat.com via the iPad.  The problem is getting them uploaded from the iPad Adobe Reader app to acrobat.com. Is there a solution I'm missing, or am I correct in my understanding of the iPad Adobe Reader app upload situation?

  • I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I did it again. Now it will not run and I get an error message saying that firefox is running and you can only run one at a time. I can't figure out what is running.

    Because of a problem, I uninstalled Firefox once, reinstalled it and it ran. I had a problem so I uninstalled/reinstalled it again. Now it will not run. I get an error message saying that firefox is running and you can only run one at a time. I have uninstalled multiple times and can't figure out what is running. The is only one Firefox installed and it is not open. What does this mean and how do I fix it?

    If you use ZoneAlarm Extreme Security then try to disable Virtualization.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time?

    How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time? Right now, when I'm trying to highlight documents to export, I have to click on each document individually. Is there a way to highlight one document while scrolling down the list until all desired documents are highlighted? I would like to rapidly be able to do this to save time when I am exporting or saving multiple files from my documents to an external drive, CD-Rom or cloud storage.

    Click on the first item
    Hold the Shift key
    Click on the Last Item.
    All the items in between will be selected.

  • How do I delete multiple items at once instead of one at a time?

    How do I delete multiple items at once instead of one at a time? I have several duplicate items in my library and would like to delete the duplicates. Thanks!

    You can select multiple items using shift to select a range and control to add or remove items from it.
    Regarding duplciates, Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group of identical tracks to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. This can happen, for example, if you start iTunes with a disconnected external drive, then connect it, reimport from your media folder, then restart iTunes.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background. Please take note of the warning to backup your library before deduping, whether you do so by hand or using my script, in case something goes wrong.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • How do I delete more than one email at a time on Mavericks?  I can only do one at a time.

    How do I delete groups of emails with Mavericks?  I can only delete one at a time.

    Select the first one then click on the last one with the shight key depressed to select then all then delete.
    Allan

  • How do I delete multiple duplicates of songs in my playlist without doing one at a time.  Windows 7 on HP.  Lexmac

    How do I delete multiple duplicate songs from my playlist without doing one at a time?
    <Edited by Host>

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • How delete on ipad 2 2000 emails without selecting one at a time?

    gow can I delete over 2000 emails from my iPad 2 without selecting them one at a time?

    You can't on the iPad itself, unfortunately. Your best bet is to use your computer to mass delete the emails, You can also change how far back your various email accounts sync messages to your iPad. That will significantly reduce the amount of daily emails on your device.

  • After downloading iOS 7 on my 4S I show 8,976 on my email icon.  How can I eliminate them all without going one at a time?

    After downloading iOS 7 on my 4S it shows 8,976 on the email icon.  How can I move them all to trash without doing it one at a time?

    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • I want to change the sharing and permissions of a large number of photos. How can I do this in bulk rather than one at a time?

    I want to change the sharing and permissions of a large number of photos. How can I do this in bulk rather than one at a time?

    Does this involve iPhoto in some way?

Maybe you are looking for