Operating System - HP-UX
1752862 Members
4101 Online
108791 Solutions
New Discussion юеВ

Re: Crons not running hp 10.2

 
SOLVED
Go to solution
Phillip Popp
Regular Advisor

Crons not running hp 10.2

Guys,
I get an error message from my crons when I go in to edit them. "Cron may not be running - call your system admin. Warning commands will be executed using /usr/bin/sh"

they are in fact not running and it is an issue as I use these to transfer large amount of data every 15 minutes.

What to I do to start them if that is all it is?

Thanks for all the help in advance.

Phil
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: Crons not running hp 10.2

Is the 'cron' daemon running?

# ps -ef | grep cron

You should see a '/usr/sbin/cron' process in the listing.

If not, try starting it.

# /sbin/init.d/cron start
Phillip Popp
Regular Advisor

Re: Crons not running hp 10.2

Thanks Patrick. cron was not running? started it, will report back in 15 or so to see if they are running. Do not know why is stopped running. should I look for something else going wrong?

Thanks,

Phil


Phillip Popp
Regular Advisor

Re: Crons not running hp 10.2

Looks like that did the trick. not sure why it stopped running.

thanks
Patrick Wallek
Honored Contributor

Re: Crons not running hp 10.2

Two places to look:

1) /var/adm/cron/log

2) /var/adm/syslog/syslog.log

See if either has any messages about cron stopping or being killed.