Re: how to update cron daemon without crontab -e?

From: Needham, Lon (Lon.Needham@AMERICREDIT.COM)
Date: Tue Jun 25 2002 - 15:09:25 EDT


I don't believe the cron deamon will be updated by removing the crontab
file.
Maybe off base with this one, but I think the /etc/inittab entry for cron
will respawn
the deamon if you kill it.

check /etc/inittab to make sure the entry has cron set to respawn.

ps -ef |grep cron
kill it
then
ps -ef |grep cron
it should restart, therefore updating the deamon.

-----Original Message-----
From: Chladek, Dave [mailto:Dave.Chladek@NHMCCD.EDU]
Sent: Tuesday, June 25, 2002 1:44 PM
To: aix-l@Princeton.EDU
Subject: Re: how to update cron daemon without crontab -e?

Michelle, There should be a file in /var/spool/cron/crontabs with a file
bearing the name of the users login, this is the users actual crontab file
and can be deleted. There is also a file in the directory /var/adm/cron/
that contains the file "cron.allow" which also should have the users login
in it and if you edit the file and remove only his login then your situation
should be solved.

HTH,
Dave Chladek
UNIX Systems Administrator
North Harris Montgomery Community College District
250 N. Sam Houston Pkwy E. Suite 105B
Houston, Tx 77060-2000
Tel: 281-260-3527 Fax: 281-260-3101
Email: dave@nhmccd.edu

-----Original Message-----
From: Jolet, John [mailto:John.Jolet@MISYSHEALTHCARE.COM]
Sent: Tuesday, June 25, 2002 1:20 PM
To: aix-l@Princeton.EDU
Subject: Re: how to update cron daemon without crontab -e?

if you do a crontab -r on that user, it should delete just that file and
update cron, right?

-----Original Message-----
From: Michelle DeVault [mailto:adsmigmo@YAHOO.COM]
Sent: Tuesday, June 25, 2002 1:10 PM
To: aix-l@Princeton.EDU
Subject: how to update cron daemon without crontab -e?

Our security admin deleted a user who had an active
cron job running once an hour. Now I'm getting the
mail message:

Cron: 0481-134 Cannot set the process credentials for
user <user>

If I (manually) remove the cron job from the former
user's crontab file (or just delete the crontab file altogether), how can I
then get the cron daemon to update and recognize that it's not supposed to
be executing that script anymore? Can I just kill the /usr/sbin/cron
process and let it start again?

M

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:00 EDT