Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <418A3E98.5D77714E@hot.pl> Date: Thu, 04 Nov 2004 15:37:12 +0100 From: Jacek Trzmiel MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: Cron malfunction after date change Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes cygwin1.dll 1.5.11-1, win2ksp4+patches Steps to reproduce: 1. Start cron: cygrunsrv --stop cron cygrunsrv --remove cron cygrunsrv --install cron -p /usr/sbin/cron -a -D -i cygrunsrv --start cron 2. Add task to cron to start at specified time (about 3 minutes from now) every day. I.e. something like this: 34 15 * * * /some/app 3. Change date to previous day. 4. Wait over a minute. 5. Change date to current day. 6. Wait till time set in step 2. BUG: Added task doesn't get executed. EXPECTED: Task started at correct time. I've also seen something like this: - I've added task to execute 22:30 every day. - About 15:00 changed date to previous day, and few minutes later to current day. - Task has not been started at 22:30. - Task has been stated some time after 15:00 next day. -- Jacek. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/