fcron - daemon to execute scheduled commands
fcron [-d] [-f] [-b]
fcron [-h]
Fcron should be started from /etc/rc or /etc/rc.local. Unless the -f (or --foreground) option is given, it will return immediately, so you don't need to start it with '&'.
Fcron loads users fcrontabs (see fcrontab(5)) files previously installed by fcrontab (see fcrontab(1)). Then, fcron calculates the time and date of each job's next execution, and determines how long it has to sleep, and sleeps for this amount of time. When it wakes up, it checks all jobs loaded and runs them if needed. When a job is executed, fcron forks, changes its user and group permissions to match those of the user the job is being done for, executes that job and mails the outputs to the user (this can be changed : see fcrontab(5)).
Informative message about what fcron is doing are sent to syslogd(8) under facility cron, priority notice. Warning and error messages are sent respectively at priority warning and error.
Note that fcron sleep at least 20 seconds after it has been started before executing a job to avoid to use too much resources during system boot.
-d --debug -f --foreground |
Run in debug mode (more details in direct output (if option -f is set) and in log file) Don't fork to the background. In this mode, fcron will output informational message to stan- dard error as well as to syslogd. |
|
-b --background |
Force running in background, even if fcron has been compiled to run in foreground as default. |
|
-h --help -V --version |
Display a brief description of the options. Display an informational message about fcron, including his version and the license under |
|
Fcron returns 0 on normal exit, and 1 on error.
SIGTERM |
Save configuration (time remaining until next execution, time and date of next execution, |
|
SIGUSR1 SIGHUP |
Force fcron to reload all its configuration. Tell fcron to check if there is any configuration update (this signal is used by fcrontab(5)) |
Should be POSIX compliant.
/etc/fcron.allow Users allowed to use fcrontab (one name per line, special name "all" acts for everyone)
/etc/fcron.deny Users who are not allowed to use fcrontab (same format as allow file)
fcrontab(1) , fcrontab(5)
Thibault Godouet <fcron@free.fr>