From cd50fa92cc1f81c5ca06182b927c675fe631fd85 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 11 Nov 2008 00:27:07 +0100 Subject: [PATCH] install cron jobs to run update-motd's hourly, daily, weekly, monthly jobs --- debian/update-motd.cron.d | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2