delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/16/15:33:40

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: cron issue
Date: Tue, 16 May 2006 13:33:41 -0600
Message-ID: <C3916EF9E1FA3C4785B6BB805546C167059EB393@uscogr00exc40i.ent.corp.prod>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4GJXXc1014298

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
/etc/postinstall/cron.sh.done).

>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
cron_diagnose.sh 1.10

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
having.

If none of this fixes the problem, then report your problem
to cygwin AT cygwin DOT com.  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.



Important Notice:

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. 
Thank you.

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019