Forum

Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

Schedule Jobs for Specific Month/Day or specific day of the month  

  RSS

0

What am I missing?

I'm trying to schedule a job to run "annually" on a specific date (July 4th) .  I've tried using:

Case=All When=$zzMonth=07 When $Day=04 When=all and cannot not get the job on the assignments list.

Also wanting to schedule a job for the second Saturday every month.  Haven't found a way?

It's probably easy, and I'm over thinking it or just plain stupid.  Any help would be appreciated.

S-dw

 
0

You cannot use logic in job-definitions, so you will need a timer to launch the jobs. In this example the timer Launch jobs runs daily and launches any jobs for that day.

July, Tuesday and day04 are automatic flags. 

Sven

 

[job-Celebrate]

[job-Second Tuesday]

[timer-Launch jobs]
start=07:00
end=23:59
procedure=LaunchCelebrate
procedure=LaunchSecondTuesday

[procedure-LaunchCelebrate]
case=all
   when=July
   when=day04
   when=all
      job=Celebrate
case=end

[procedure-LaunchSecondTuesday]
case=all
   when=Tuesday
   when=#zzDay>7
   when=#zzDay<15
   when=all
      job=Second Tuesday
case=end

 

I was completely on the wrong track.  Thank you

Share: