]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - shell/crontab.d/jobs
herbstluftwm/autostart: add bindings to run programs and select windows
[config/dotfiles.git] / shell / crontab.d / jobs
1 # Run jobs on regular bases. Similar to /etc/cron.*/.
2 #
3 # Symlink to crontab.jobs to enable it.
4
5 # Copyright (C) 2013-2014  Simon Ruderich
6 #
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.
11 #
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.
16 #
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/>.
19
20
21 # Include user's binaries in PATH. Expanding $HOME doesn't work with cron,
22 # `setup.sh` handles that!
23 PATH=$HOME/bin:$HOME/.shell/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
24 # `rsleep` (random sleep) is used to reduce concurrent commands if this
25 # crontab file is used by multiple users.
26
27
28 # Taken from Debian's /etc/crontab from cron package 3.0pl1-124 and modified.
29 # Thanks.
30 17 * * * * rsleep 60;   run-parts --report .crontab.d/jobs.hourly
31 25 6 * * * rsleep 1800; run-parts --report .crontab.d/jobs.daily
32 47 6 * * 7 rsleep 3600; run-parts --report .crontab.d/jobs.weekly
33 52 6 1 * * rsleep 3600; run-parts --report .crontab.d/jobs.monthly
34
35 # Run on system startup.
36 @reboot run-parts --report .crontab.d/jobs.reboot
37
38 # Run every minute.
39 * * * * * run-parts --report .crontab.d/jobs.minutely
40 # Run every x hours.
41 31 */6 * * * rsleep 600; run-parts --report .crontab.d/jobs.hourly6
42 39 */8 * * * rsleep 600; run-parts --report .crontab.d/jobs.hourly8
43
44 # vim: ft=crontab