To run a job on 1st and 2nd week of the month.

I need to schedule  a job on 1st full week and 2nd full week of the month.  What is the best way to identify the Week and trigger the job?  Any input is appreciated.
thx
Jeff

Hi Jslader,
I agree with the 1st option of Visu - by calendar.
For example, assign the CALENDAR parameter to MNTH-12WK (example only) unless there are predecessors of the job you have created.
Best regards,
Sev

Similar Messages

  • What is the difference between 1st and 2nd generation of the Itouch?

    Can someone tell me the difference between the 1st and 2nd generation of the itouch? I'm looking to upgrade from my nano to a 32gb Itouch.

    The speaker is a big plus. Who wants to dig up their headphones just to play a quick game of Lux Touch or play with your light sabre without anyone else hearing the sound effects :)? The lack of a volume control is also a major complaint of IPT 1G users. The only thing that should swing you back to the 1G is the iPod accessories you already have that may be rendered obsolete.

  • How to Call Center Opens at a diffrent times 1st and 3rd Tue. of the Month

    Hello all,
    I'm new to UCCX and doing my best to understand scripting. I've created a script that's is normally open 7am to 12pm closed from 12pm to 1pm for lunch then open from 1pm to 5pm then closed again until 7am.
    Now every 1st and 3rd Thursday of the month they open at 9am instead of 7am.
    How would like script something like this? Is this possible?
    Thanks in advance for the help.
    We are running UCCX version 8.5 and using the IPPA.

    Here's a solution that works with Enhanced.
    The solution is simple.  If today's Day of Week (DoW) is equal to the target DoW, then we jump backwards in time by one week, and if we're still in the same month, we repeat that process over and over again, until we have stepped back so far, we step into the previous month.  All along the way, keeping track of how many times we were able to jump back in the same month.  This becomes our instance counter and what we check to see if we are on the correct instance of the target DoW.
    Subflow Script
    Variables
    boolean is_matched = false
    Date today = d[now]
    Date date_crawler = d[now]
    int target_dow = 0
    int target_instance = 0
    int instance_counter = 0
    Script: system-date-instances.aef
    StartLABEL0:If (date_crawler.dow == target_dow) Then  True    Increment instance_counter    Do date_crawler.setDate(date_crawler.date - 7)    If (date_crawler.month == today.month) Then      True        Goto LABEL0      False  FalseSet is_matched = instance_counter == target_instanceEnd
    Caller Script
    Variables
    boolean is_third_thursday = false
    Script - main-aa.aef
    Start...the intro to your script.../* You will need to pass in two integers as input parameters: target_dow and target_instance *//* taget_dow can be 1 - 7 (Sunday - Saturday) *//* target_instance would be a number representing which DoW you are interested in *//* E.g., If I wanted to know if today is the third thursday in the month I would pass in: *//* target_dow = 5 and target_instance = 3 *//* You will need to get back one boolean as an output parameter: is_matched */is_third_thursday = Call Subflow(SCRIPT[system-date-instances.aef], is_matched)If (is_third_thursday)  True    ...use modified business hours...  False    ...use regular business hours......the rest of your script...End
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.
    Tags: first, second, third, fourth, sunday, monday, tuesday, wednesday, thursday, friday, saturday
    Message was edited by: Anthony Holloway - Adding tags

  • I am having problems streaming music to my apple tv (1st and 2nd gen). The music cuts in an out after a while of playing.  Any suggestions?

    I have a first gen apple tv and it works as advertised except for the streaming of music which would cut out/on/out......  I decided to buy a aptv2 and have the same issue.  I have tried using different wireless setups, ipod, iphone and laptop and the same issue happens.  Any suggestions?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to run procedure/job only on third business day of the month

    Hello All,
    how can i run the procedure/job only third business day of the month? I am using month table in my procedure and it gets updated only once in month and procedure doesn't need to run everyday.

    >
    how can i run the procedure/job only third business day of the month? I am using month table in my procedure and it gets updated only once in month and procedure doesn't need to run everyday.
    >
    For such a sparse schedule the easiest way is to DBMS_SCHEDULER and set the 'repeat_interval' using the BYDATE parameter.
    See Table 14-7 in chapter 114 DBMS_SCHEDULER of the PL/SQL Packages and Types doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_sched.htm#BABEJGCH
    >
    Table 114-7 Values for repeat_interval
    BYDATE
    This specifies a list of dates, where each date is of the form [YYYY]MMDD. A list of consecutive dates can be generated by using the SPAN modifier, and a date can be adjusted with the OFFSET modifier. An example of a simple BYDATE clause is the following:
    BYDATE=0115,0315,0615,0915,1215,20060115
    The following SPAN example is equivalent to BYDATE=0110,0111,0112,0113,0114, which is a span of 5 days starting at 1/10:
    BYDATE=0110+SPAN:5D
    The plus sign in front of the SPAN keyword indicates a span starting at the supplied date. The minus sign indicates a span ending at the supplied date, and the "^" sign indicates a span of n days or weeks centered around the supplied date. If n is an even number, it is adjusted up to the next odd number.
    Offsets adjust the supplied date by adding or subtracting n days or weeks. BYDATE=0205-OFFSET:2W is
    >
    The chapter has examples.

  • Is it possible to do "1st and 3d" week of month events?

    I'd like to have a recurring event that happens 1st and 3d Monday of the month. The custom option for recurring events doesn't seem to allow this ... but is there a way?

    Tahm,
    It appears to me that you will have to create an event and use "Custom" to repeat the first Monday:
    ...and then create a second event on the third Monday.

  • I have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    i have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    Try putting it into "Disk Mode" http://docs.info.apple.com/article.html?artnum=93651
    Then with it in this mode connect it to the PC and try to run the latest iPod updater to do a restore and update software if you have the option. the latest iPod updater is 2006-03-23 and can be downloaded here http://www.apple.com/ipod/download/

  • Parts of the 1st and 2nd generation ipod nano's?

    I have a question. Does anyone know if the parts of the 1st and 2nd generation nanos are compatable with each other or are they different.

    no they dont work together

  • My iPods touch 1st and 2nd generation don´t show up anymore in iTunes after upgrade to iTunes 10.5 and MacOsX 10.6.8 Snow. What can I do??

    I was using iPods touch 1st and 2nd generation together with iPod Shuffle 1st generation with inferior versions of iTunes and MacOS X without any problem. After I upgraded to iTunes 10.5 and Mac OS X 10.6.8, the iPod Shuffle still appears in iTunes normally, but the iPods don´t appear. Its not a problem of the USB because because it happens with two different USB cables which worked just fine before. Any idea how I could get the iPods working again?? Thanks a lot!!!

    I have an iPod Touch 2nd Gen, MacOS X 10.6.8 and iTunes 10.5, and my iPod still works when I plug it in.
    So it's not the software, because mine still works. Do your iPods have a lock on them? If so, try unlocking them and then plugging them in, usually when your iPod has a passcode lock it won't show up in iTunes until you unlock it.

  • 1st and 2nd Gen differences?

    What are the main differences between the 1st and 2nd Gen Touch? I'm getting ready to buy a 32gb Touch, but I can't figure out what is improved on the 2G. If it's nothing major, I'm just going to get a 1G and save $50.

    also, the 1st Gens have old software on them. if you get one you'll have to pay to upgrade to 2.0 and consequential software upgrades.
    external volume buttons, longer battery life, the design is slightly different - described as 'sleek and feeling better in your hand'
    enough reasons i would have thought for you to go the whole hog and get a new one.

  • I have both iPod nano 1st and 2nd generation, neither shows in iTunes since i installed yosemite, Icon shows on mac desktop , with a few empty folders inside

    I have both iPod nano 1st and 2nd Gen . Neither are appearing in iTunes since Ive installed Yosemite, both appear on desktop and iTunes launches when i plug nano in to mac

    Hi Phil.Surf 16,
    Thanks for the question. Based on what you stated, it sounds like the iPod is not in iTunes. I would recommend that you read this article, it may be able to help the issue.
    iPod not appearing in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • 1st and 2nd Receipt days of supply calcluation

    HI,
    i was wondering how the first and second receipt days of supply are calcuted when viewing in MD06. I went into the configuration 'Define Receipt Elements for Receipt Days' Supply' via menu Consumption Based Planning --> Evaluation --> Define Receip Elements Days' Supply.
    However, in this config activity i'm not sure how it differentiates between 1st and 2nd receipt days of supply? Does anyone know where the difference is located in configuration.
    Many Thanks, Erik

    Erik,
    The receipt days' supply indicates how many days a material will last. The system takes current plant stock and specific, predefined receipts into account when calculating the receipt days' supply.
    You can define two receipt days' supplies.This enables you to instruct the system to take the less binding receipt elements into account for the first receipt days' supply, and to take only the binding receipt elements (such as production orders and shipping notifications) into account for the second days' supply.
    In the IMG node you can define which mrp elements contributes or should be considered during calculation of days of supply.
    Typically for most clients, I advise taking firm MRP elements like Production orders & purchase orders into 1st Reciept days of supply as well as 2nd reciept days of supply.
    So in IMG node they get X =Take both receipt days' supply into account
    For Firmed PR & Firmed planned order they should be considered under 2nd reciept days of supply only.
    So in IMG node they get 2 = Only take receipt days' supply 2 into account
    Hope this clarifies your question around this concept. More questions please feel free to ask.
    thanks,
    Ram

  • Size difference of dock for 1st and 2nd gen

    Hi, I tried searching the forums but i couldn't find a specific answer to my question.
    I know that the dock for the 1st and 2nd gen is at a different place, but does anyone know if the exact size has changed? That is, if i have just a plug which was made for the 1st gen nano, can this plug fit into the 2nd gen dock pins?
    Any help will be great, thanks!
      Windows XP Pro  

    All dock connectors are the same, so you can use the same cable.
    However, you asked about the dock which is not the same as the dock connector. The dock is this.

  • Question about firewire AC adaptor and iPod Nano (1st and 2nd gen)

    I have an AC adaptor from the Mini, model #A1070 W008A130 and I was wondering if it was compatible with both the 1st and 2nd gen Nanos.
    I've been unable to find any power specifications and just want to make sure I'm not going to burn both mine and my girlfriend's Nanos out when we charge them away from a computer.
    Thanks in advance.

    I have an AC adaptor from the Mini, model #A1070
    W008A130 and I was wondering if it was compatible
    with both the 1st and 2nd gen Nanos.
    I've been unable to find any power specifications and
    just want to make sure I'm not going to burn both
    mine and my girlfriend's Nanos out when we charge
    them away from a computer.
    Thanks in advance.
    You won't burn anything out.

  • HT202157 What is the difference between the 1st and 2nd generation Apple TV?

    What is the main difference between the 1st and 2nd generation Apple TV's? I just got the 1st generation and was wondering if I should send back for the 2nd gen?

    There is one other difference. The ATV3 uses a new processor with a better graphic processing unit.  If you only had the ATV2 for less than 14 day. Why not upgrade. 1080p video will be a little sharper, but in reality most people won't notice any real difference. It's likely that Apple will stop supporting the ATV 1st gen and 2nd gen in couple of years. Apple as a company usually only supports hardware 5-6yrs max! 

Maybe you are looking for