1753747 Members
4885 Online
108799 Solutions
New Discussion юеВ

"at" job failure log

 
SOLVED
Go to solution
Manikandan R
Valued Contributor

"at" job failure log

Hi,

on a hpux parisc box , i know that cron has its log @ /var/adm/cron/log. Similarly, i want to know if there's a log file for jobs scheduled though the command "at".

-Mani
6 REPLIES 6
Ganesan R
Honored Contributor

Re: "at" job failure log

Hi,

The cron daemon is responsible for executing "at" jobs as well at the required time. So /var/adm/cron/log will be the log file for at jobs.
Best wishes,

Ganesh.
Manikandan R
Valued Contributor

Re: "at" job failure log

Thanks for the quick reply.

But i am not able to find any data on /var/adm/cron/log about a finished "at" job.

# grep 1238234400 /var/adm/cron/log

#

Problem is , i suspect that an "at" job 1238234400.a failed, but i do not know where to look for any info on it.
Ganesan R
Honored Contributor

Re: "at" job failure log

Hi Again,

Try to look with time stamp on when you had scheduled the at job.
Best wishes,

Ganesh.
Manikandan R
Valued Contributor

Re: "at" job failure log

did a vi into cron log and checked on time stamp as u said, but nothing there.
T G Manikandan
Honored Contributor
Solution

Re: "at" job failure log

you need to check the mail for the user

do a

$mail
the output of at commands are sent as mail to user.

if that doesnt work, try using -m option.
Manikandan R
Valued Contributor

Re: "at" job failure log

mails are empty ...

no answer on this Q ...