Package: at
Followup-For: Bug #404965
Hi Ryan,
Until I get through end-of-quarter maddness I can't look at source code
and help there, but running into the problems with time calculations in
'at' I wanted to file the report since my symptoms seem to go beyond
those already listed in the bug as seen via reportbug.
1) Looks like I really do have version 3.1.10, by dpkg, but "dpkg --list"
and "at -V" differ in reported version for "at", so yes, it is still in
3.1.10. Shouldn't the internal version reported by 'at' and the
external version reported by 'dpkg' agree? Perhaps I just checked them
incorrectly?
[EMAIL PROTECTED]:~$ at -V
at version 3.1.9
vs.
[EMAIL PROTECTED]:~# dpkg --list | grep -w ' at'
ii at 3.1.10
Delayed job execution and batch processing
2) In addition to the year being incremented incorrectly (which I saw in
the notes in #404965, the day of the week also wanders INSIDE the year.
Use/test case - scheduling 1 job for 18:00 Sunday, 2 through 26 weeks out.
Notice the multiple foul-ups:
jump from 2007 to 2009 (which should be 2008)
shift from Sunday to Tuesday as it jumps into 2009
shift from Tuesday (incorrect) to Monday (incorrect) in March 2009
========================================
[EMAIL PROTECTED]:~$ atq | sort -n
13 Sun Sep 30 18:00:00 2007 a korz
[EMAIL PROTECTED]:~$ at -f WSHU/HowToRecord 18:00 Sunday + 1 week
warning: commands will be executed using /bin/sh
job 14 at Sun Oct 7 18:00:00 2007
[EMAIL PROTECTED]:~$ atq | sort -n
13 Sun Sep 30 18:00:00 2007 a korz
14 Sun Oct 7 18:00:00 2007 a korz
[EMAIL PROTECTED]:~$ for w in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26; do at -f WSHU/HowToRecord 18:00 Sunday + $w week; done
warning: commands will be executed using /bin/sh
job 15 at Sun Oct 14 18:00:00 2007
warning: commands will be executed using /bin/sh
job 16 at Sun Oct 21 18:00:00 2007
warning: commands will be executed using /bin/sh
job 17 at Sun Oct 28 18:00:00 2007
warning: commands will be executed using /bin/sh
job 18 at Sun Nov 4 18:00:00 2007
warning: commands will be executed using /bin/sh
job 19 at Sun Nov 11 18:00:00 2007
warning: commands will be executed using /bin/sh
job 20 at Sun Nov 18 18:00:00 2007
warning: commands will be executed using /bin/sh
job 21 at Sun Nov 25 18:00:00 2007
warning: commands will be executed using /bin/sh
job 22 at Sun Dec 2 18:00:00 2007
warning: commands will be executed using /bin/sh
job 23 at Sun Dec 9 18:00:00 2007
warning: commands will be executed using /bin/sh
job 24 at Sun Dec 16 18:00:00 2007
warning: commands will be executed using /bin/sh
job 25 at Sun Dec 23 18:00:00 2007
warning: commands will be executed using /bin/sh
job 26 at Sun Dec 30 18:00:00 2007
warning: commands will be executed using /bin/sh
job 27 at Tue Jan 6 18:00:00 2009
warning: commands will be executed using /bin/sh
job 28 at Tue Jan 13 18:00:00 2009
warning: commands will be executed using /bin/sh
job 29 at Tue Jan 20 18:00:00 2009
warning: commands will be executed using /bin/sh
job 30 at Tue Jan 27 18:00:00 2009
warning: commands will be executed using /bin/sh
job 31 at Tue Feb 3 18:00:00 2009
warning: commands will be executed using /bin/sh
job 32 at Tue Feb 10 18:00:00 2009
warning: commands will be executed using /bin/sh
job 33 at Tue Feb 17 18:00:00 2009
warning: commands will be executed using /bin/sh
job 34 at Tue Feb 24 18:00:00 2009
warning: commands will be executed using /bin/sh
job 35 at Mon Mar 2 18:00:00 2009
warning: commands will be executed using /bin/sh
job 36 at Mon Mar 9 18:00:00 2009
warning: commands will be executed using /bin/sh
job 37 at Mon Mar 16 18:00:00 2009
warning: commands will be executed using /bin/sh
job 38 at Mon Mar 23 18:00:00 2009
warning: commands will be executed using /bin/sh
job 39 at Mon Mar 30 18:00:00 2009
[EMAIL PROTECTED]:~$ atq | sort -n
13 Sun Sep 30 18:00:00 2007 a korz
14 Sun Oct 7 18:00:00 2007 a korz
15 Sun Oct 14 18:00:00 2007 a korz
16 Sun Oct 21 18:00:00 2007 a korz
17 Sun Oct 28 18:00:00 2007 a korz
18 Sun Nov 4 18:00:00 2007 a korz
19 Sun Nov 11 18:00:00 2007 a korz
20 Sun Nov 18 18:00:00 2007 a korz
21 Sun Nov 25 18:00:00 2007 a korz
22 Sun Dec 2 18:00:00 2007 a korz
23 Sun Dec 9 18:00:00 2007 a korz
24 Sun Dec 16 18:00:00 2007 a korz
25 Sun Dec 23 18:00:00 2007 a korz
26 Sun Dec 30 18:00:00 2007 a korz
27 Tue Jan 6 18:00:00 2009 a korz
28 Tue Jan 13 18:00:00 2009 a korz
29 Tue Jan 20 18:00:00 2009 a korz
30 Tue Jan 27 18:00:00 2009 a korz
31 Tue Feb 3 18:00:00 2009 a korz
32 Tue Feb 10 18:00:00 2009 a korz
33 Tue Feb 17 18:00:00 2009 a korz
34 Tue Feb 24 18:00:00 2009 a korz
35 Mon Mar 2 18:00:00 2009 a korz
36 Mon Mar 9 18:00:00 2009 a korz
37 Mon Mar 16 18:00:00 2009 a korz
38 Mon Mar 23 18:00:00 2009 a korz
39 Mon Mar 30 18:00:00 2009 a korz
========================================
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages at depends on:
ii exim4-daemon-light [mail-tran 4.67-8 lightweight Exim MTA (v4) daemon
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libpam0g 0.99.7.1-4 Pluggable Authentication Modules l
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
at recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]