From: Dustin Kirkland Date: Mon, 10 Nov 2008 23:27:07 +0000 (+0100) Subject: install cron jobs to run update-motd's hourly, daily, weekly, monthly jobs X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd50fa92cc1f81c5ca06182b927c675fe631fd85;p=update-motd.git install cron jobs to run update-motd's hourly, daily, weekly, monthly jobs --- diff --git a/debian/update-motd.cron.d b/debian/update-motd.cron.d index 5538ab0..4bfbf14 100644 --- a/debian/update-motd.cron.d +++ b/debian/update-motd.cron.d @@ -1,6 +1,10 @@ # /etc/cron.d/update-motd: crontab fragment for update-motd # # Running 'update-motd' dynamically generates the /etc/motd with -# a concatenation of output from each script in /etc/update-motd.d. +# a concatenation of output from each script in /etc/update-motd.d/* */10 * * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null +00 * * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null +* 06 * * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd daily 2>/dev/null +* * * * 1 root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd weekly 2>/dev/null +* * 1 * * root [ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd monthly 2>/dev/null