1829597 Members
1655 Online
109992 Solutions
New Discussion

Re: Crontab Issue !!

 
titu
Regular Advisor

Crontab Issue !!

Hi all

I had a weird issue in my system.

cron stopped and it did not give anything in cron log as well as in syslog.

I am wondering why it happened and where to look why it stopped.

I have latest patch in my system.

Thanks in advance
Titu
7 REPLIES 7
Ganesan R
Honored Contributor

Re: Crontab Issue !!

Hi,

look at /var/adm/syslog/syslog.log

and /var/adm/cron/log

some time root or var filesystem full also may cause this kind issues.

Best wishes,

Ganesh.
Robert Salter
Respected Contributor

Re: Crontab Issue !!

Maybe someone killed the wrong pid. Did you recently reboot your server? Check the /etc/rc.config.d/cron file to see if cron is suppose to start after a reboot.

Beers,

Bob
Time to smoke and joke
T G Manikandan
Honored Contributor

Re: Crontab Issue !!

you can check /etc/syslog.conf file to see what is being logged with cron log and syslog.log

Please check.
titu
Regular Advisor

Re: Crontab Issue !!

I have root and var file system empty in my system.

I have not received any mail in the mail box of root or any user.

Thanks
titu
Regular Advisor

Re: Crontab Issue !!

There were 2 processes.

I used kill -9 to kill the process.

if process is killed , Would this kill cron?

Thanks
James R. Ferguson
Acclaimed Contributor

Re: Crontab Issue !!

Hi:

> I have root and var file system empty in my system.

By "empty" I assume that you mean you have free space in these filesystems, not that they are devoid of things like your 'crontabs' in '/var/spool/cron/crontabs'.

> I used kill -9 to kill the process. if process is killed , Would this kill cron?

No, but using a 'kill -9' can have other side effects. Kill-9 should be a last resort only.

Regards!

...JRF...

Thanks

VVS
Regular Advisor

Re: Crontab Issue !!

HI

Check whether cron process (/usr/sbin/cron) is running
# ps -ef | grep cron

If no , then start it with command
#/sbin/init.d/cron start


Regards,
VVS
Work is life, you know, and without it, there's nothing but fear and insecurity.