Scheduler data format inside .tsk file

Discuss RoboTask here

Scheduler data format inside .tsk file

Postby george » Sun Mar 25, 2018 3:12 pm

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
george
 
Posts: 10
Joined: Sun Mar 25, 2018 3:02 pm

Re: Scheduler data format inside .tsk file

Postby Oleg » Sun Mar 25, 2018 3:37 pm

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
Oleg
Site Admin
 
Posts: 2351
Joined: Thu Jan 01, 1970 1:00 am

Re: Scheduler data format inside .tsk file

Postby george » Sun Mar 25, 2018 3:44 pm

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

thanks
george
 
Posts: 10
Joined: Sun Mar 25, 2018 3:02 pm

Re: Scheduler data format inside .tsk file

Postby Oleg » Tue Mar 27, 2018 11:06 am

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
Oleg
Site Admin
 
Posts: 2351
Joined: Thu Jan 01, 1970 1:00 am

Re: Scheduler data format inside .tsk file

Postby george » Tue Mar 27, 2018 4:32 pm

Thanks Oleg :D
george
 
Posts: 10
Joined: Sun Mar 25, 2018 3:02 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 12 guests

cron