Cron jobs stopped working : can't lock cron.pid .. Resouce temporarily unavailable

sam naqvi email_amn@yahoo.com
Tue Jun 9 15:48:00 GMT 2009


i had setup some cron jobs on cygwin last Friday. a few of them were test scripts to see if the cron is firing smoothly on the right time without errors. And there were some actual scripts too.
It was working fine on Friday, giving output to all the test scripts at correct times.

however, it did not work for the jobs that it had to run over the weekend. in fact, now, it does not even run the test scripts.

an error that i could locate in var/log/Cygwin\ cron.log  file is as follows:
/usr/sbin/cron: can't lock /var/run/cron.pid, otherpid may be 9556: Resource temporarily unavailable
please see the attachment for details.

i have gone through the cygwin mail archives and general google search on any similar reported problem. this problem looks similar (http://www.cygwin.com/ml/cygwin/2008-05/msg00280.html) but i could not understand what is causing a lock in my case and how to fix it. i am a beginner in cygwin crons and could not find the problem or the cause of it. can someone please help here?

thanks in advance.

AMN


      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cronbug.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090609/3704260d/attachment.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list