Re: Req for task.e
- Posted by Insolor May 13, 2013
- 1411 views
Have you tried something like task_schedule(id,{2.0,2.01})? Unless I missunderstood, this is exactly what you need. See task_schedule():
said...
schedule is a sequence:
In this case, it must be a pair of positive atoms, the first one not being less than the second one. This defines task_id as a real time task. The pair states the minimum and maximum times, in seconds, to wait before running the task. The pair also sets the time interval for subsequent runs of the task, until the next call to task_schedule() or task_suspend().
[spoiler]Btw, there must be "the first one not being greater then the second one"[/spoiler]