----- Original Message ----- From: "Saurabh Tendulkar" <> To: <cygwin> Sent: Thursday, January 10, 2008 11:26 PM Subject: cron does not work: no error message
| Hi, | | I upgraded my cygwin recently to the latest cron (4.1-6), and it seems to have | stopped working. I did a cygrunsrv -E cron when the setup asked me to kill | cron, and cygrunsrv -S cron to start it after the upgrade finished. | | Now the application log shows that /usr/sbin/cron actually runs, but instead of | running the command from the crontab, it simply does a tabs reload. The | following are relevant lines from cygbug.txt, the first one shows an instance | of the old cron, the second one an instance of the new one. | 2008/01/10 00:21:01 [SYSTEM] /usr/sbin/cron: PID 1412: (HP_Owner) CMD (ls) | ... | 2008/01/10 20:50:01 [SYSTEM] /usr/sbin/cron: PID 3104: (HP_Owner) RELOAD | (tabs/HP_Owner) | | The only thing that jumped out at me was that /var/cron/cron.log and | /var/run/cron.pid have user SYSTEM and group root, and afaict these are the | only files in the cygwin space with that user+group pair. Is this right? Also | the cron.log file is empty. Did you run the new /usr/bin/cron-config ? It will check that various settings are set correctly. If the problem persists, send me cygbug.txt. Pierre -- 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/