This shows you the differences between two versions of the page.
uphp:library_functions:add_cron [2021/04/07 09:26] admin |
uphp:library_functions:add_cron [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======add_cron====== | ||
- | |||
- | < | ||
- | |||
- | Add a script to be executed by the CRON scheduler | ||
- | |||
- | ====Library==== | ||
- | |||
- | < | ||
- | |||
- | ====Description==== | ||
- | |||
- | <well size=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | |||
- | <span style=" | ||
- | ) | ||
- | </ | ||
- | |||
- | Add a script to be executed by the CRON scheduler after a reboot. | ||
- | |||
- | ====Parameters==== | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | < | ||
- | |||
- | ^ Field ^ Description | ||
- | | second | ||
- | | minute | ||
- | | hour | execution hour, can be * (every hour), * /x (i.e. * /2 for every 2 hours), or any number between 0 and 23 | | ||
- | | dow | execution day of the week, can be * (every day), or a value 0-6 (sunday to monday) | ||
- | |||
- | For example: " | ||
- | |||
- | ====Return Values==== | ||
- | |||
- | none | ||
- | |||
- | |||
- | |||
- | |||