Daemon to execute scheduled commands
cron -f {flag-f} -l {flag-l} -n {flag-n} -N {flag-n} -L {flag-l} ๐ flag-f ๐ flag-l ๐ flag-n cron -f {flag-f} -l {flag-l} -n {flag-n} -N {flag-n} -L {flag-l} Sandbox: execFile · Timeout: 30s
system.scheduler.cron system.scheduler.cron | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
flag-f | string | No | - | Stay in foreground mode, don't daemonize | -f |
flag-l | string | No | - | Enable LSB compliant names for /etc/cron.d files. This setting, however, does not affect the parsing of files under /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly or /etc/cron.monthly | -l |
flag-n | string | No | - | Include the FQDN in the subject when sending mails. By default, cron will abbreviate the hostname | -n |
flag-N | string | No | - | Run cron jobs Now, immediately, and exit. This option is useful to perform tests | -N |
flag-L | string | No | - | Tell cron what to log about jobs (errors are logged regardless of this value) as the sum of the following values: | -L |
flag-x | string | No | - | Tell cron to be more verbose and output debugging information; debugflags is the sum of those values: | -x |
Basic usage with flag-f
cron ${flag-f} Display help message
cron --help cron is a command-line utility for daemon to execute scheduled commands.
cron -f {flag-f} -l {flag-l} -n {flag-n} -N {flag-n} -L {flag-l}