From: Simon Ruderich Date: Tue, 8 Oct 2013 13:58:34 +0000 (+0200) Subject: crontab.d/jobs: Add support to run job on boot. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7e93fbaa00098f7310a503872ba8f194b667412d;p=config%2Fdotfiles.git crontab.d/jobs: Add support to run job on boot. --- diff --git a/crontab.d/jobs b/crontab.d/jobs index dd6e5b7..1e6c4d2 100644 --- a/crontab.d/jobs +++ b/crontab.d/jobs @@ -33,6 +33,9 @@ PATH=$HOME/bin:$HOME/.shell/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/u 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 on system startup. +@reboot run-parts --report .crontab.d/jobs.reboot + # Run every minute. * * * * * run-parts --report .crontab.d/jobs.minutely # Run every x hours. diff --git a/crontab.d/jobs.reboot/.gitignore b/crontab.d/jobs.reboot/.gitignore new file mode 100644 index 0000000..e69de29