← Back to team overview

touch-packages team mailing list archive

[Bug 274631] Re: cron doesn't change schedule when system time is changed

 

** Changed in: cron (Ubuntu)
     Assignee: Jamie Strandboge (jdstrand) => (unassigned)

** Changed in: cron (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/274631

Title:
  cron doesn't change schedule when system time is changed

Status in “cron” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: cron

  When the system time is changed, the cron schedule does not update. It
  continues to run as if the time had not been updated, until the system
  is rebooted.

  To reproduce:
  - Set a cron job to occur 5 minutes after the current time
  - Change the system time to something different, so the cron job shouldn't occur in 5 minutes
  - Observe the cron job occurring when it shouldn't be

  $ lsb_release -rd
  Description:    Ubuntu 8.04.1
  Release:        8.04

  $ apt-cache policy cron
  cron:
    Installed: 3.0pl1-100ubuntu2
    Candidate: 3.0pl1-100ubuntu2
    Version table:
   *** 3.0pl1-100ubuntu2 0
          500 http://archive.ubuntu.com hardy/main Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/274631/+subscriptions