From: micah Date: Wed, 26 Oct 2005 23:01:45 +0000 (+0000) Subject: change cronjob to autotools template X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=015d28fe3f89b80382cc9067602a100976b1565f;p=matthijs%2Fupstream%2Fbackupninja.git change cronjob to autotools template git-svn-id: http://code.autistici.org/svn/backupninja/trunk@199 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/etc/cron.d/backupninja b/etc/cron.d/backupninja deleted file mode 100644 index ea6b6a4..0000000 --- a/etc/cron.d/backupninja +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/cron.d/backupninja -- cron tab entry for package backupninja - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -# run backupninja every hour on the hour -0 * * * * root if [ -x /usr/sbin/backupninja ]; then /usr/sbin/backupninja; fi diff --git a/etc/cron.d/backupninja.in b/etc/cron.d/backupninja.in new file mode 100644 index 0000000..5ee1b81 --- /dev/null +++ b/etc/cron.d/backupninja.in @@ -0,0 +1,6 @@ +# /etc/cron.d/backupninja -- cron tab entry for package backupninja + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# run backupninja every hour on the hour +0 * * * * root if [ -x @sbindir@/backupninja ]; then @sbindir@/backupninja; fi