X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=crontab.d%2Fjobs;h=8426b7ae2180142009b1a5f0dd6bdacad97dc7f5;hb=HEAD;hp=dd6e5b7daa124a121d0416a4f9341c67ec68da54;hpb=da11f1f5a6ea6d67c483472664cba1c515011296;p=config%2Fdotfiles.git diff --git a/crontab.d/jobs b/crontab.d/jobs deleted file mode 100644 index dd6e5b7..0000000 --- a/crontab.d/jobs +++ /dev/null @@ -1,42 +0,0 @@ -# Run jobs on regular bases. Similar to /etc/cron.*/. -# -# Symlink to crontab.jobs to enable it. - -# Copyright (C) 2013 Simon Ruderich -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -# Include user's binaries in PATH. Expanding $HOME doesn't work with cron, -# `update.sh` handles that! -PATH=$HOME/bin:$HOME/.shell/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games -# "RAND_SLEEP X" is also expanded by `update.sh` to a command which sleeps -# randomly between 0 and X seconds. Used to reduce concurrent commands if this -# crontab file is used by multiple users. - - -# Taken from Debian's /etc/crontab from cron package 3.0pl1-124 and modified. -# Thanks. -17 * * * * RAND_SLEEP 60; run-parts --report .crontab.d/jobs.hourly -25 6 * * * RAND_SLEEP 1800; run-parts --report .crontab.d/jobs.daily -47 6 * * 7 RAND_SLEEP 3600; run-parts --report .crontab.d/jobs.weekly -52 6 1 * * RAND_SLEEP 3600; run-parts --report .crontab.d/jobs.monthly - -# Run every minute. -* * * * * run-parts --report .crontab.d/jobs.minutely -# Run every x hours. -31 */6 * * * RAND_SLEEP 600; run-parts --report .crontab.d/jobs.hourly6 -39 */8 * * * RAND_SLEEP 600; run-parts --report .crontab.d/jobs.hourly8 - -# vim: ft=crontab