trigger 3rd tue of month

Discuss RoboTask here
Post Reply
racheney
Posts: 5
Joined: Sun Apr 03, 2011 10:06 am
Location: United States

trigger 3rd tue of month

Post by racheney »

Is it possible to set a trigger for the 3rd tuesday of the month?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

trigger 3rd tue of month

Post by Oleg »

3rd tuesday of the month always has day number between 15 and 21.

You should do the following:
attach weekly scheduler to the task (each tuesday);
in the task use such algorithm:

if {day} >= 15 then
   if {day} <= 21 then
      ...
      do something
      ...
   end if
end if

Thus, your code will work only at 3-rd tuesday of the month.
Also see this topic with similar problem.
racheney
Posts: 5
Joined: Sun Apr 03, 2011 10:06 am
Location: United States

trigger 3rd tue of month

Post by racheney »

Thank you,
I didn't think adout putting it in the actions section,
just the trigger section.
Post Reply