Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
*   42  * * * *     run when the minute is 42 (e.g. 19:42, 20:42, etc.).
*/5  *  * * * *     run every 5 seconds
     5  0 * * *     run five minutes after midnight, every day
    15 14 1 * *     run at 2:15pm on the first of every month
     0 22 * * 1-5   run at 10 pm on weekdays
     5  4 * * 0     run at 5 after 4 every Sunday
23 0-23/2 * * *     run 23 minutes after midn, 2am, 4am ..., everyday

For example, the following will cause the event notification:repeating_event every period seconds:

Code Block
languagejs
themeConfluence
schedule notification event "repeating_event"
        repeat << */#{period} * * * * * >>  attributes { } setting(id);

Functions

schedule:list()

Returns an array of events schedule by the ruleset it is executed in. For example:

...