From 7e93fbaa00098f7310a503872ba8f194b667412d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 8 Oct 2013 15:58:34 +0200 Subject: [PATCH] crontab.d/jobs: Add support to run job on boot. --- crontab.d/jobs | 3 +++ crontab.d/jobs.reboot/.gitignore | 0 2 files changed, 3 insertions(+) create mode 100644 crontab.d/jobs.reboot/.gitignore 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 -- 2.45.2