Page 1 of 1

Running TI process on specific date every month

Posted: Mon Mar 24, 2014 10:55 am
by late.vaibhav
Hi;
Is it possible to schedule TI process to run any specific date of every month.
Now I am doing this by setting my start date and time on desired date and Chore frequency as 30 days, but this get failed when the day are 31 OR 28.

Regards;
Vaibhav

Re: Running TI process on specific date every month

Posted: Mon Mar 24, 2014 11:16 am
by rmackenzie
This is straightforward with use of a couple of the standard time and date functions:

Code: Select all

sToday = TODAY ( 1 );
nDay = DAY ( sToday );
IF ( nDay = 24 );
  # ExecuteProcess... or your logic goes here
ELSE;
  ChoreQuit;
ENDIF;