Cron under Cygwin/Windows XP

John Helly hellyj@ucsd.edu
Fri Nov 5 22:29:00 GMT 2004


Hi.
I'm attempting to run:

$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (cron/myCron installed on Fri Nov  5 14:08:06 2004)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
* * * * * echo 'Boo from cron'

but it doesn't run.  I've followed the procedure below:

$ cron_diagnose.sh
cron_diagnose.sh 1.3

This script did not find any errors in your crontab setup.
If you are still unable to get cron to work, then try
shutting down the cron service, uninstalling it,
reinstalling it, and restarting it.

The following commands will do that:
  $ cygrunsrv --stop cron
  $ cygrunsrv --remove cron
  $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
  $ cygrunsrv --start cron

If the cron service does not start, try deleting the file
/var/run/cron.pid and then repeating the commands above.

If none of this fixes the problem, then report your problem
to cygwin@cygwin.com.  Please include a copy of your crontab,
('crontab -l') and the output of 'cygcheck -srv > cygcheck.txt'.

PLEASE include the generated files 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.

Any advice would be most welcome.
Thanks.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041105/6b53a3a9/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