Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 27 Jul 2005 00:10:01 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Kevin Markle cc: cygwin AT cygwin DOT com Subject: Re: Cron problems with cygwin... In-Reply-To: <200507270334.j6R3YVJU015747@mx.cims.nyu.edu> Message-ID: References: <200507270334 DOT j6R3YVJU015747 AT mx DOT cims DOT nyu DOT edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Kevin, . Thanks. I'm redirecting this reply to the Cygwin mailing list, and setting Reply-To appropriately. On Tue, 26 Jul 2005, Kevin Markle wrote: > Hello, > > I was looking on the web for my windows 2003 cygwin cron prolems and it > appears that you have a way to get this to work. If you can help me out > on this I would appreciate it. Do I need to run cron-config before > running this command? Are these 2 thing all that I need to do to get > cron to work? I have been able to get the service to run but none of the > items in the crontab file run? > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -u svccron -w > > Thanks! > Kevin Markle I don't have Windows 2003, and I haven't run cron in a while. However, I do have some general comments about your problem: First, please review and follow the Cygwin problem reporting guidelines at , particularly the part in bold that asks you to attach the output of "cygcheck -svr" on your system. Second, I'm not sure which "2 things" you are referring to. As far as I recall, cron-config will actually install the cron service for you, so there is no need for a separate "cygrunsrv -I" command. That script will even offer to start the service, so you won't even need a "cygrunsrv -S" command. Third, please run the cron_diagnose.sh script and examine the results. If it's a simple permission issue, that script should catch it. Lastly, examine the logs (/var/log/cron.log and the Windows Event log) for any signs of errors. Also check whether you are properly redirecting the output in your crontab (if not, cron may be looking for a sendmail program). HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/