Re: cron executes entries twice
At 04:03 AM 7/3/2003, Andrew Boothman wrote: On Thursday 03 July 2003 1:23 am, John wrote: > Hi All, > > For quite some time now my system has been executing all entries in the > crontab twice, instead of the expected once. This happens most obviously > for the periodic scripts, but also on some scripts that I added for > nightly, weekly, or runs at reboot. This started not long after a > buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't > recall unfortunately. The executions of the scripts appear to occur within > minutes of each other, if not seconds. Hmmm - that is strange. My only thought off-hand would be that someone has managed to install /etc/crontab as a personal crontab? Try 'crontab -l' as root and any other possible users to see if they have a crontab that is similar to the /etc/crontab Just a thought.. Andrew Your suggestion was dead on - I'm not sure why I kept overlooking this. For some reason the entire contents of /etc/crontab were duplicated in root's crontab. I got rid of it last night, and lo - only one run of the scripts. Thanks very much for the help! -John ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron executes entries twice
Another item to check: Faulty time service might produce such duplication. The first cron job would run on the old time; the time updates; it then runs the job again. There would not be a 3rd run because the clock is now correct. On Wed, Jul 02, 2003 at 08:23:30PM -0400, John wrote: > For quite some time now my system has been executing all entries in the > crontab twice, instead of the expected once. This happens most obviously > for the periodic scripts, but also on some scripts that I added for > nightly, weekly, or runs at reboot. This started not long after a > buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't > recall unfortunately. The executions of the scripts appear to occur within > minutes of each other, if not seconds. > > I checked /var/cron/tabs/root, and all entries are in there only once. > > Cron is also only running as a single process. > > The system is running 4.8-RC. > > Any thoughts of where to look and what to look for? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron executes entries twice
At 04:03 AM 7.3.2003 +0100, Andrew Boothman wrote: >On Thursday 03 July 2003 1:23 am, John wrote: >> Hi All, >> >> For quite some time now my system has been executing all entries in the >> crontab twice, instead of the expected once. This happens most obviously >> for the periodic scripts, but also on some scripts that I added for >> nightly, weekly, or runs at reboot. This started not long after a >> buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't >> recall unfortunately. The executions of the scripts appear to occur within >> minutes of each other, if not seconds. > >Hmmm - that is strange. > >My only thought off-hand would be that someone has managed to install >/etc/crontab as a personal crontab? > >Try 'crontab -l' as root and any other possible users to see if they have a >crontab that is similar to the /etc/crontab > >Just a thought.. > >Andrew > Or do this: # ls -l /var/cron/tabs and that will show the crontabs running. open them to see the contents. That will be faster if you have a lot of users. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cron executes entries twice
On Thursday 03 July 2003 1:23 am, John wrote: > Hi All, > > For quite some time now my system has been executing all entries in the > crontab twice, instead of the expected once. This happens most obviously > for the periodic scripts, but also on some scripts that I added for > nightly, weekly, or runs at reboot. This started not long after a > buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't > recall unfortunately. The executions of the scripts appear to occur within > minutes of each other, if not seconds. Hmmm - that is strange. My only thought off-hand would be that someone has managed to install /etc/crontab as a personal crontab? Try 'crontab -l' as root and any other possible users to see if they have a crontab that is similar to the /etc/crontab Just a thought.. Andrew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cron executes entries twice
Hi All, For quite some time now my system has been executing all entries in the crontab twice, instead of the expected once. This happens most obviously for the periodic scripts, but also on some scripts that I added for nightly, weekly, or runs at reboot. This started not long after a buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't recall unfortunately. The executions of the scripts appear to occur within minutes of each other, if not seconds. I checked /var/cron/tabs/root, and all entries are in there only once. Cron is also only running as a single process. The system is running 4.8-RC. Any thoughts of where to look and what to look for? Thanks! -John ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"