Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cron not "running" after reboot???

Status
Not open for further replies.

MAS1521

Programmer
Oct 14, 2002
2
0
0
US
HP-UX 11.0 jobs in crontab not executing?? when i do a [ps -ef |grep cron]-- just displays grep?? anyidea on how to get cron running?

 
Cron is started at system boot by a shell start up script usually found in /etc/rc2.d. You should be able to manually start via root, but you would want to create or find out why you don't have cron already running at boot up.
 
To start cron, login as root

# /sbin/init.d/cron start
 
You may want to "cat /etc/rc.log | grep cron"
This will tell you if cron tried to start at boot with an rc script and if it had a problem starting.

If not, you need to setup a link to: "/sbin/init.d/cron" in "/sbin/rc.2/" or "/sbin/rc.3/" depending on your active run level at boot. Probably: "/sbin/rc3.d".

When creating the link, note the "S" and "K" numbers "S"=start, "K"=kill both with the same unique number, this number determines when it will run in the succession.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top