Operating System - HP-UX
1819736 Members
2854 Online
109606 Solutions
New Discussion юеВ

Re: Location of cron log files....

 
SOLVED
Go to solution
Vlad_11
Frequent Advisor

Location of cron log files....

Hi,
Can you help to locate log files for cron/crontab.
Trying to check why of one shell didn't run, thoug it scheduled to run every day, and it did so for last 2 month but not yesterday.

Is there any condition for free-space, etc. that can affect crontab work.

I'm on HP UNIX.

Thanks to all
Vlad
beer or not beer
9 REPLIES 9
Rita C Workman
Honored Contributor
Solution

Re: Location of cron log files....

/var/adm/cron/log

Rgrds,
Rita
John Poff
Honored Contributor

Re: Location of cron log files....

Hi,

If your cron logs don't give any clues, you could check to make sure that your cron daemon is running. Also, check the e-mail for the user account that had the cron job scheduled. They might have e-mail explaining what happened.

JP
Vlad_11
Frequent Advisor

Re: Location of cron log files....

THanks, all
I checked my cron
$ ps ax
PID TTY TIME COMMAND
4286 pts/8 0:00 ksh
24761 pts/8 0:00 ps

that's all I have, does it mean that my cron daemon is not running..

Thax
beer or not beer
Vlad_11
Frequent Advisor

Re: Location of cron log files....

As well I have in log:
> CMD: /appl/bxmail/eml001/proc # on every BD
> bxmail 12323 c Thu Oct 14 14:00:00 PDT 2004

Thanks looks fine form, no any extra info im bxmail email account.

V
beer or not beer
Patrick Wallek
Honored Contributor

Re: Location of cron log files....

YOu only checked your own processes there.

$ ps -ef | grep cron
root 1106 1 0 Jun 13 ? 0:28 /usr/sbin/cron

If you get back a line that says something like the above, then cron is running.
Vlad_11
Frequent Advisor

Re: Location of cron log files....

Thansk, Patrick

You're right Cron is alive. Still kind of dark matter, I don't have any system support for now, will address this issue later to our guys.

Thanks to all
Vlad
beer or not beer
Govind_3
Regular Advisor

Re: Location of cron log files....

Check if the expected Shell script is listed in crontab?
-Regards
Govind
Govind_3
Regular Advisor

Re: Location of cron log files....

BTW you can use "crontab -l" to see the listing.
Regards,
Govind
Vlad_11
Frequent Advisor

Re: Location of cron log files....

Cron set correct, in earlier post you can see piece of cron/log, all names match, in fact this shell was just run OK for today.
No changes were made during last days, alwyase check cron with -l option.


Nothing in syslog.log too.
THanks to all.

Could be hackers.....


Vlad
beer or not beer