This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
usage:atlatc:api [2020-02-23 09:10] orwell |
usage:atlatc:api [2020-12-25 19:01] orwell example for schedule |
||
---|---|---|---|
Line 106: | Line 106: | ||
The time value here is an absolute value. | The time value here is an absolute value. | ||
msg can be any data type and is accessible in '' | msg can be any data type and is accessible in '' | ||
+ | < | ||
+ | -- Example: schedule a " | ||
+ | local now = rwt.now() | ||
+ | local next_5minutes = rwt.next_rpt(now, | ||
+ | schedule(next_5minutes, | ||
+ | </ | ||
=== schedule_in(rwtime, | === schedule_in(rwtime, |