This is the mail archive of the
mailing list for the Cygwin project.
RE: cron issue
- From: "Davies, Roger" <Roger dot Davies at swiftbrands dot com>
- To: "Harig, Mark" <maharig at idirect dot net>, <npereira at videotron dot ca>, <cygwin at cygwin dot com>
- Date: Tue, 16 May 2006 13:33:41 -0600
- Subject: RE: cron issue
I checked the readme before configuring. I opted for exim instead of
ssmtp, which I presume is OK.
>1. Run 'cygcheck -l cron' to list the files included in the
> 'cron' package. (This is a general recommendation for
> any Cygwin package.)
[RD] I have all the files in the package (/etc/postinstall/cron.sh is
>2. Read the file /usr/share/doc/Cygwin/cron.README to get
> some Cygwin-specific instructions about 'cron', including
> the use of 'ssmtp' as a replacement for 'sendmail'.
[RD] Went with exim, but it's configured.
>3. Run '/usr/bin/cron_diagnose.sh' to see whether it can
> identify any problems with your cron setup.
[RD] $ cron_diagnose.sh
This script did not find any errors in your cron 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
(You can also add a -u switch)
$ cygrunsrv --start cron
If the cron service does not start, try deleting the file
/var/run/cron.pid and then repeating the commands above.
Also, examine the log file for cron, /var/log/cron.log, for
information that it might give you about the problem cron is
If none of this fixes the problem, then report your problem
to firstname.lastname@example.org. Please include a copy of your crontab,
('crontab -l') and the output of 'cygcheck -srv > cygcheck.txt'.
Please include the generated file 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.
The contents of this electronic message and any attachments are intended only for the addressee
and may contain confidential and privileged information. If you are not the addressee, you are
notified that any transmission, distribution, downloading, printing or photocopying of the
contents is strictly prohibited. If you have received this message in error, please notify the
sender by return e-mail immediately and destroy all copies of the message and any attachments.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html