Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
fcron [2013/03/11 17:35] 127.0.0.1 external edit |
fcron [2015/06/01 16:12] steve |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== fcron ====== | ====== fcron ====== | ||
- | * [[Cron Jobs]] | ||
* [[cron]] | * [[cron]] | ||
- | |||
- | fcron is the cron service running on ''tahiti'' and ''moorea'' to execute scheduled tasks. | ||
=== Gentoo Linux === | === Gentoo Linux === | ||
Line 14: | Line 11: | ||
[[https://bugs.gentoo.org/show_bug.cgi?id=388371|bug 388371]] | [[https://bugs.gentoo.org/show_bug.cgi?id=388371|bug 388371]] | ||
- | === Policy === | ||
- | |||
- | The cron policy is to restrict access to creating cron jobs to user root. Any cron jobs that need to be run are placed as shell scripts into one of these directories: | ||
- | |||
- | * ''/etc/cron.hourly'' | ||
- | * ''/etc/cron.daily'' | ||
- | * ''/etc/cron.weekly'' | ||
- | * ''/etc/cron.monthly'' | ||
- | |||
- | The shell scripts can use ''su'' to switch to a user account as needed and execute a job. | ||
- | |||
- | An example command would be: | ||
- | |||
- | <code>su -l -c "/home/user/bin/foo.sh --bar" user</code> | ||