https://bugzilla.novell.com/show_bug.cgi?id=679668 https://bugzilla.novell.com/show_bug.cgi?id=679668#c0 Summary: batch jobs and "at now" jobs will be executed next day Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bjoern@cs.tu-berlin.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.17) Gecko/20110121 SUSE/2.0.12-0.3.1 SeaMonkey/2.0.12 The at command in openSUSE 11.4 introduced the following patch: * Di Feb 01 2011 vcizek@novell.com - at now shifts jobs with passed time without a date to tomorrow (bnc#668485) I am not allowed to access bnc#668485. But the patch affects batch jobs and at jobs with the time spec "now". Normally "at now" jobs will be executed immediately. Batch jobs should be executed immediately, if the system load is low enough. The patch seems to calculate the time spec "now" wrong. Probably the "now"-calculation ignores the seconds. Because of the wrong calculation, "at" thinks that "now" is in past and shifts the job to next day (tomorrow). Reproducible: Always Steps to Reproduce: 1. Lookup the current date and time with "date" $ date Tue Mar 15 09:29:59 CET 2011 2. Create a "at now" job $ at now warning: commands will be executed using /bin/sh at> echo "at job executed" at> <EOT> job 5 at 2011-03-16 09:30 3. See the execution time or wait until next day Actual Results: The job will be executed next day (tomorrow). Expected Results: The job should be executed immediately. The at implementation of at-3.1.12 works correctly. The function parsetime from at-3.1.12 may help to find a correct patch. Unfortunately at-3.1.12 contains multiple changes in parsetime and timespec compared with at-3.1.8. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.