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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple cron jobs

Status
Not open for further replies.

megatukker

IS-IT--Management
Sep 28, 2001
25
NL
Hi there,

Anyone has had the same problem of multiple running cronjobs in the ps -ef list ? Looking like this:

root@earth/sysbeheer/prgms# ps -ef | grep cron
root 28114 1 0 04:33:47 ? 00:00:00 /etc/cron
root 28268 1 0 04:37:57 ? 00:00:00 /etc/cron
root 28413 1 0 04:42:08 ? 00:00:00 /etc/cron
root 28537 1 0 04:46:19 ? 00:00:00 /etc/cron
root 28773 1 0 04:50:30 ? 00:00:00 /etc/cron
root 28932 1 0 04:54:41 ? 00:00:00 /etc/cron
root 29242 1 0 05:03:03 ? 00:00:00 /etc/cron
root 3891 1 0 09:34:56 ? 00:00:00 /etc/cron
root 29057 1 0 04:58:52 ? 00:00:00 /etc/cron
root 29781 1 0 05:11:26 ? 00:00:00 /etc/cron
root 29906 1 0 05:15:37 ? 00:00:00 /etc/cron
root 5155 24193 2 09:36:25 ttyp59 00:00:00 grep cron
root 29602 1 0 05:07:14 ? 00:00:00 /etc/cron
root 10564 1 0 07:25:12 ? 00:00:00 /etc/cron
root 10390 1 0 07:21:01 ? 00:00:00 /etc/cron

im running SCO openserver 5.0.5
Patch OSS642a is already installed

Anyone any idea ??

Thanks already .
 
What is the result of this command ?
(cd /usr/spool/cron/crontabs;grep -v '^#' *)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks 4 ur reply.

The result is all the crontab jobs of every user without the comments, as expected, every job just showing once.

This problem actually does not happen often....just once in a while but because the server is so busy with that it does not respond anymore...

Its like a bug again.......

Thanks
 
No job scheduled every 4 minutes ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Not every 4 minutes no....checked 4 that one already ....it seems that something at random time starts the cron daemon a dozen times.........

Its happens on a sudden moment..and on that moment the cron daemon is started every 4 minutes....

Its a crazy problem....(or does it makes me crazy :))
 
See if you are running some of the oddball "self fixing" utilities. One such utility (SCO-Doctor, or something like that)constantly monitors several system processes, and restart those it thinks might have died unexpectedly. It's more of a curse than a help in many cases.

Your example shows all these /etc/cron processes owned by INIT, so they aren't the result of any crontab entry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top