Page 1 of 1

Help..Scheduling every 15 days and 2 Sundays per month.

Posted: Tue Apr 16, 2024 2:27 am
by anthonyystwarty
Hello Oleg. Could you help me create a task to be performed every 15 days? And another task, every 2 Sundays a month? Thank you very much.

Re: Help..Scheduling every 15 days and 2 Sundays per month.

Posted: Tue Apr 16, 2024 10:31 am
by Oleg
Look at the settings of scheduler trigger for every 15 days. You can start the task 1 and 16 days of each month
Image

The settings of scheduler trigger for every 20nd Sunday of each month
Image

Look at the example task wiyh the same settings (see scheduler triggers)

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1981091247
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DisableOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task1494"
Hide=INTEGER|0
ID=INTEGER|-426662706
LogOnAsUser=INTEGER|1
Name=STRING|"Example scheduler"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
StepPause=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER

[Actions\Action1]
ActionID=STRING|"A_MISC_COMMENT"
Enabled=INTEGER|-1
Name=STRING|"//do sommething"
Params=FOLDER

[Actions\Action1\Params]
comment=STRING|"do sommething"

[Events]
Event1=FOLDER
Event2=FOLDER

[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_SHEDULER"
Name=STRING|"Scheduler(16.04.2024 12:00:00) //every 15 days"
Params=FOLDER
UniqueID=INTEGER|-1177679853

[Events\Event1\Params]
periodicity=STRING|"2"
periodparameter=STRING|"10000000000000010000000000000000"
periodparameter2=STRING|"111111111111"
startdate=STRING|"45398"
time0=STRING|"43200000"
timecount=STRING|"1"
wakeup=STRING|"0"

[Events\Event2]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_SHEDULER"
Name=STRING|"Scheduler(12.05.2024 12:00:00) //2-nd sunday"
Params=FOLDER
UniqueID=INTEGER|589172534

[Events\Event2\Params]
periodicity=STRING|"1"
periodparameter=STRING|"1000000"
periodparameter2=STRING|"01000"
startdate=STRING|"45398"
time0=STRING|"43200000"
timecount=STRING|"1"
wakeup=STRING|"0"

Re: Help..Scheduling every 15 days and 2 Sundays per month.

Posted: Tue Apr 23, 2024 2:08 am
by anthonyystwarty
Hello Oleg, sorry for the delay in responding, I was testing the task and it worked perfectly, you and your program are the best. Thanks again for the response.