Hi thecata and pepe999, thanks for responding.
Yes, I tried using sudo but it failed with the same error.
- Code: Select all
jumpjet@zeus / $ sudo echo wget http://www.somewebsite.com/somefile.dat | at 11pm
warning: commands will be executed using /bin/sh
Cannot create atjob file /var/spool/at/atjobs/a0000c013e3360: Permission denied
jumpjet@zeus / $
Then I tried using root. The command did not fail, however the wget did not get executed.
- Code: Select all
zeus ~ # echo wget http://www.somewebsite.com/somefile.dat | at now
warning: commands will be executed using /bin/sh
job 6 at Tue Aug 25 04:30:00 2009
zeus ~ # date
Tue Aug 25 04:37:38 WIT 2009
zeus ~ # atq
6 Tue Aug 25 04:30:00 2009 a root
It's already passed 4.30am, and the file is not downloaded, and the job is still at the queue.
I wonder what happened?
Thanks again.
JJ