1826408 Members
4046 Online
109692 Solutions
New Discussion

Re: at command failed

 
Anh-Thu Tran
Frequent Advisor

at command failed

I tried to use at command to schedule some jobs, but look like it failed on our Redhat ES3 update 6 machine (Dell platform). For example, I tried:
# at now
at> /bin/date >/tmp/date.log
at>
job 45 at 2006-12-04 12:43

However, there is no date.log created under /tmp. I tried on another linux machine (IBM platform) and it worked fine.
I don't see any differences between 2 machines except their platforms. Any ideas?
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: at command failed

Can you try

/bin/date > /tmp/date.log 2>&1

What if you use "now + 1 minutes"

Check the user's mail. At should report any message via mail.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
James R. Ferguson
Acclaimed Contributor

Re: at command failed

Hi:

Make sure that the user has write permission to the '/tmp' directory on the failing server.

Regards!

...JRF...