[Bug 312809] Re: crontab entries are incorrect
This bug was fixed in the package update-motd - 1.10 --- update-motd (1.10) jaunty; urgency=low * debian/update-motd.cron.d: Fix broken crontab entries, LP: #312809 -- Dustin KirklandMon, 05 Jan 2009 12:51:54 -0600 ** Changed in: update-motd (Ubuntu) Status: In Progress => Fix Released -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 312809] Re: crontab entries are incorrect
Thanks for the bug report. I'm attaching a patch for the Ubuntu package. Note that I have already committed this change to the upstream Launchpad branch, lp:update-motd. I'm requesting main sponsorship. :-Dustin ** Changed in: update-motd (Ubuntu) Status: Confirmed => In Progress ** Attachment added: "312809.debdiff" http://launchpadlibrarian.net/20926726/312809.debdiff -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 312809] Re: crontab entries are incorrect
Contents of update-motd.cron.d from update_motd_1.9: # /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/* */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 ** Changed in: update-motd (Ubuntu) Status: Incomplete => Confirmed -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 312809] Re: crontab entries are incorrect
Package version is 1.9 (jaunty). I also have the */10 rule, but then the following four rules. I didn't add them myself. 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 -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 312809] Re: crontab entries are incorrect
What version of update-motd are you using? I looked at the source package, as well as the cron.d entry placed when I installed the current version (1.8) of the package. It looks as follows: # /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. */10 * * * *root[ -x /usr/sbin/update-motd ] && /usr/sbin /update-motd 2>/dev/null Which runs every ten minutes. Looking through the changelog, I don't see any mention of changes being made to the timing through releases. That does not appear to be the crontab installed with the package -- looks like someone wrote their own. ** Changed in: update-motd (Ubuntu) Status: In Progress => Incomplete -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 312809] Re: crontab entries are incorrect
** Changed in: update-motd (Ubuntu) Importance: Undecided => High Assignee: (unassigned) => Dustin Kirkland (kirkland) Status: New => In Progress -- crontab entries are incorrect https://bugs.launchpad.net/bugs/312809 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs