This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cron is running but jobs are not being executed
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Ruzomberka, Mark" <mruzomberka at traffic dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 22 Jul 2005 11:12:20 -0400 (EDT)
- Subject: Re: Cron is running but jobs are not being executed
- References: <58A6C35C69BB2B46B26138FEC42E46AC01DEEBBF@postoffice.traffic.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 22 Jul 2005, Ruzomberka, Mark wrote:
> [snip]
> I have checked my crontab file:
>
> [mark/tmp]:>crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/mruzomberka installed on Thu Jul 21 17:16:16 2005)
> # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> 0 * * * * echo "WAKE UP" 2>&1 /dev/console
> 10 * * * * echo "WAKE UP" 2>&1 /dev/console
> 20 * * * * echo "WAKE UP" 2>&1 /dev/console
> 30 * * * * echo "WAKE UP" 2>&1 /dev/console
> 35 * * * * echo "WAKE UP" 2>&1 /dev/console
> 40 * * * * echo "WAKE UP" 2>&1 /dev/console
> 50 * * * * echo "WAKE UP" 2>&1 /dev/console
^^
Someone else already noticed this, so I won't comment.
> * * * * * date >> /tmp/date.txt[mark/tmp]:>
^^^^
It's also a good idea to use full paths to utilities, as /bin (/usr/bin)
may not be in the PATH. Try changing this to /usr/bin/date.
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/