If you’re writing an “at” job today, to run at the beginning of the New Year, make sure you check when “at” states the job is going to run. On my up to date Debian Stable (Lenny) system running “at” version 3.1.9, “tomorrow” is a year out. Same problem exists on my up to date Ubuntu box running “at” version 3.1.11:
mike@alfa:~$ date
Fri Dec 31 12:48:04 GMT **2010**
mike@alfa:~$ echo|at today
warning: commands will be executed using /bin/sh
job 5 at Fri Dec 31 12:48:00 **2010**
mike@alfa:~$ echo|at tomorrow
warning: commands will be executed using /bin/sh
job 6 at Sun Jan 1 12:48:00 **2012**
I wonder if this happens every year?
Want to leave a tip?You can follow this Blog using RSS or Mastodon. To read more, visit my blog index.