1 # Run jobs on regular bases. Similar to /etc/cron.*/.
3 # Symlink to crontab.jobs to enable it.
5 # Copyright (C) 2013 Simon Ruderich
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 # Include user's binaries in PATH. Expanding $HOME doesn't work with cron,
22 # `update.sh` handles that!
23 PATH=$HOME/bin:$HOME/.shell/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
24 # "RAND_SLEEP X" is also expanded by `update.sh` to a command which sleeps
25 # randomly between 0 and X seconds. Used to reduce concurrent commands if this
26 # crontab file is used by multiple users.
29 # Taken from Debian's /etc/crontab from cron package 3.0pl1-124 and modified.
31 17 * * * * RAND_SLEEP 60; run-parts --report .crontab.d/jobs.hourly
32 25 6 * * * RAND_SLEEP 1800; run-parts --report .crontab.d/jobs.daily
33 47 6 * * 7 RAND_SLEEP 3600; run-parts --report .crontab.d/jobs.weekly
34 52 6 1 * * RAND_SLEEP 3600; run-parts --report .crontab.d/jobs.monthly
36 # Run on system startup.
37 @reboot run-parts --report .crontab.d/jobs.reboot
40 * * * * * run-parts --report .crontab.d/jobs.minutely
42 31 */6 * * * RAND_SLEEP 600; run-parts --report .crontab.d/jobs.hourly6
43 39 */8 * * * RAND_SLEEP 600; run-parts --report .crontab.d/jobs.hourly8