NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41762: at(1) fails to submit job if time has passed



>Number:         41762
>Category:       bin
>Synopsis:       at(1) fails to submit job if time has passed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 21 19:15:00 +0000 2009
>Originator:     Stathis Kamperis
>Release:        NetBSD 5.0_STABLE
>Organization:
Aristotle University of Thessaloniki
>Environment:
NetBSD voyager 5.0_STABLE NetBSD 5.0_STABLE (MYGENERIC) #8: Mon Jul  6 19:55:40 
EEST 2009  root@voyager:/usr/obj/sys/arch/i386/compile/MYGENERIC i386

>Description:
Quoting from Issue 7:

If no date is given, today shall be assumed if the given time is greater than 
the current time, and tomorrow shall be assumed if it is less. If the given 
month is less than the current month (and no year is given), next year shall be 
assumed.

http://www.opengroup.org/onlinepubs/9699919799/utilities/at.html

But...

[stathis@voyager ~] date
Tue Jul 21 22:05:19 EEST 2009
[stathis@voyager ~] at 22:00
at: Trying to travel back in time       <--- this should never happen; at(1) 
should submit job for tomorrow
[stathis@voyager ~] at 21:00
clear
Job 51 will be executed using /bin/sh
[stathis@voyager ~] at -l
Date               Owner              Queue    Job
21:00:00 07/22/09  stathis            c        51       <--- with 21:00 it got 
it right, look at 22/
[stathis@voyager ~] 


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index