Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added help on the cron utility #279

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions reference/static/commands/osx/cron.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# cron
-------------
## INFO

cron is a daemon or process which runs in the background.

## DETAILS

Specifically, it allows the user to schedule predefined processes to run in the background at a regular interval of time.

cron repeatedly checks for when the scheduled time matches the current time, and then executes its task once that condition is met.

## SYNTAX

cron [-f] [-l] [-n] [-L loglevel]

### Modifications

-f keeps the process in the foreground

-l enables LSB compliant names for cron.d files

-n adds the Fully Qualified Domain Name(FQDN) in the subject when sending email

-L loglevel tells cron what to log with the following modifications

-L 1 logs the start of all cron jobs

-L 2 logs the end of all cron jobs

-L 4 logs all the failed jobs. The exit status will be non-zero

-L 8 logs the process number of all the cron jobs