Many, many, many thanks. One step further on the ladder of knowledge. I've reset crontab as you suggested and sure enough the /var/spool/cron/* file changed (and it did have the problem code in it). Hopefully it will now work but won't be too long before I found out. For some reason reload, stop and restart all had no impact. At least the offending commands have gone from the file.
Regards, Tim. | -----Original Message----- | From: sean finney [mailto:[EMAIL PROTECTED]] | Sent: Monday, 18 November 2002 4:18 AM | To: Tim Barker | Cc: Debian List | Subject: Re: Resetting Cron | | | hiya, | | cron jobs are also/actually? stored in /var/spool/cron/*, | have you looked | in there? i'm not familiar with how cron runs on debian, | but on systems | that strictly use /var/spool/cron, cron doesn't notice if you | change the textfile without telling it (which is why the | manpage says to edit crontabs with crontab -e). also, have | you tried /etc/init.d/cron reload? | | hth | --sean | | On Sun, Nov 17, 2002 at 09:26:49PM +1100, Tim Barker wrote: | > I have a problem changing a Cron script. Whilst I have changed the | > actual script in /etc/cron.d/mrtg to do what I want the Cron job is | > still using the original commands. Now it must be looking | somewhere | > else on the system but I cannot find any other references | in any other | > directory. I thought it was only necessary to update | crontab to get | > the Cron job working on the changes but even restarting the system | > doesn't seem to help. | > | > I apologise if this is a trivial error but cannot find any debian | > specific information that might point me in the right direction. | > Would greatly appreciate any help on this problem. | > | > Many thanks in advance, | > | > Tim Barker. | > ---------------------------------------------------------------- | > Mail: mailto:[EMAIL PROTECTED] | > ---------------------------------------------------------------- | > | > | > | > -- | > To UNSUBSCRIBE, email to [EMAIL PROTECTED] | > with a subject of "unsubscribe". Trouble? Contact | [EMAIL PROTECTED] | > | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]