cron: add @service which is probably clearer than @reboot in app context
This commit is contained in:
+2
-1
@@ -304,7 +304,8 @@ function parseCrontab(crontab) {
|
||||
|
||||
// https://www.man7.org/linux/man-pages/man5/crontab.5.html#EXTENSIONS
|
||||
const KNOWN_EXTENSIONS = {
|
||||
'@reboot' : '@reboot',
|
||||
'@service' : '@service', // runs once
|
||||
'@reboot' : '@service',
|
||||
'@yearly' : '0 0 1 1 *',
|
||||
'@annually' : '0 0 1 1 *',
|
||||
'@monthly' : '0 0 1 * *',
|
||||
|
||||
Reference in New Issue
Block a user