This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems with cron


Jeff Yemin wrote:
I'm running cron as a service using cygrunsrv commands, and it seems to
start ok. But it doesn't seem to be running the jobs. I put the date
job in my crontab as a test, and I never see anything written to
/tmp/cron.test.
Here's my crontab:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.2768 installed on Wed Dec 8 17:46:04 2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp
$)
30 0 * * * "cd /c/build; ./mailBuildResults.sh"
* * * * * "date >> /tmp/cron.test"


Any help would be appreciated.

I think cron uses syslog, you should be able to see in the Windows Event Viewer:
- cron startup
- any started cron jobs
- any changes to crontab detected by cron (polled every minute)


Have you put your crontab file in the correct place with sufficient permissions for the System user (man cron), or are you using the crontab utility?

My crontab file has no quotes around the command - are quotes supported?

Rob

Thanks,
Jeff Yemin



--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]