[Bug 1545108] [NEW] crontab ignores the day of month, and executes based only on the time and the weekday.
Rob
ubuntu-clearblueskies at snkmail.com
Fri Feb 12 18:41:04 UTC 2016
Public bug reported:
here is my crontab:
45 5 * * 1-5 pkill -f flash
48 6 * * 1-5 musicalarm
50 9 * * 1-5 mpc random off
30 7 5 2 5 echo -e "I'm not coming in today.\n\nHave a good one!" | mail -s "No pikupordropov needed" email at example.com
Obviously I have changed the email a bit, but it gives you an idea. The
email got sent today, even though it is clearly not the 5th of February.
Something similar happened a couple days ago (another command that was
scheduled for that day, but earlier in the month).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cron 3.0pl1-124ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32
Uname: Linux 3.13.0-77-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Fri Feb 12 10:33:41 2016
InstallationDate: Installed on 2014-02-04 (738 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: cron
UpgradeStatus: Upgraded to trusty on 2014-07-20 (571 days ago)
** Affects: cron (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1545108
Title:
crontab ignores the day of month, and executes based only on the time
and the weekday.
Status in cron package in Ubuntu:
New
Bug description:
here is my crontab:
45 5 * * 1-5 pkill -f flash
48 6 * * 1-5 musicalarm
50 9 * * 1-5 mpc random off
30 7 5 2 5 echo -e "I'm not coming in today.\n\nHave a good one!" | mail -s "No pikupordropov needed" email at example.com
Obviously I have changed the email a bit, but it gives you an idea.
The email got sent today, even though it is clearly not the 5th of
February. Something similar happened a couple days ago (another
command that was scheduled for that day, but earlier in the month).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cron 3.0pl1-124ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32
Uname: Linux 3.13.0-77-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Fri Feb 12 10:33:41 2016
InstallationDate: Installed on 2014-02-04 (738 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: cron
UpgradeStatus: Upgraded to trusty on 2014-07-20 (571 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1545108/+subscriptions
More information about the foundations-bugs
mailing list