Scheduler data format inside .tsk file

Discuss RoboTask here
Post Reply
george
Posts: 25
Joined: Sun Mar 25, 2018 3:02 pm

Scheduler data format inside .tsk file

Post by george »

Hi, I want to know in which format is the scheduler data inside the .tsk file.

For example this is a scheduler for a task set to work the 15th day of every month at 9,00am

[Events\Event1\Params]
periodicity=STRING|"2"
periodparameter=STRING|"00000000000000100000000000000000"
periodparameter2=STRING|"111111111111"
startdate=STRING|"43174"
time0=STRING|"32400000"
timecount=STRING|"1"
wakeup=STRING|"0"

Thanks
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Scheduler data format inside .tsk file

Post by Oleg »

Why?
Do you want to change task file directly?
It doesn't make sense, because RoboTask keeps all tasks in memory when it is running.
Oleg Yershov
george
Posts: 25
Joined: Sun Mar 25, 2018 3:02 pm

Re: Scheduler data format inside .tsk file

Post by george »

Hi Oleg, right I want to change the task file directly.
Can you help me with this?

thanks
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Scheduler data format inside .tsk file

Post by Oleg »

Below the desription

periodicity=STRING|"2"
Time period.
  • 0 - every day
    1 - every week
    2 - every month
periodparameter=STRING|"00000000000000100000000000000000"
Days of the month (for time period - 2). It this case 15-th day

periodparameter2=STRING|"111111111111"
Months of the year. In this case - every month

startdate=STRING|"43174"
Start day. The date part of standard Windows™ date-time format

timecount=STRING|"1"
The count of time list items. It this case - 1

time0=STRING|"32400000"
The time item (time0, time1, time2,....,time(timecount-1) )
The time part of standard system timestamp

wakeup=STRING|"0"
Wakeup the computer
  • 0 - no
    1 - yes
But I think that this information will not help you.
Also I can repeat it again: It doesn't make sense, because RoboTask keeps all tasks in memory when it is running.
Also you can enter incorrect information and the trigger will not work at all.
Each task file contains a warning at the header: Do not edit in text editor!

The task file has text format but the format is undocumented and we can change it or add some parameters.
Oleg Yershov
george
Posts: 25
Joined: Sun Mar 25, 2018 3:02 pm

Re: Scheduler data format inside .tsk file

Post by george »

Thanks Oleg :D
Post Reply