Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber@prodigy.net.mx>
Subject:  Re: Cron problem
Date:  Fri, 07 Oct 2005 12:17:57 -0500
Lines: 29
Message-ID: <di6ak5$srv$1@sea.gmane.org>
References:  <Pine.WNT.4.58.0510071413450.480@sn2307128>   <Pine.GSO.4.63.0510071005110.501@slinky.cs.nyu.edu> <Pine.WNT.4.58.0510071635180.572@sn2307128>  <Pine.GSO.4.63.0510071114350.501@slinky.cs.nyu.edu> <Pine.WNT.4.58.0510071835090.540@sn2307128>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <Pine.WNT.4.58.0510071835090.540@sn2307128>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes

Orfeo Da Via wrote:
[snip]
> $ crontab -l
>   # DO NOT EDIT THIS FILE - edit the master and reinstall.
>   # (/tmp/crontab.1200 installed on Fri Oct  7 18:26:04 2005)
>   # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
>   * 18 * * * /bin/date >> /usr/tmp/date.out 2>&1

man 5 crontab :

       The time and date fields are:

              field          allowed values
              -----          --------------
              minute         0-59
              hour           0-23
              day of month   0-31
              month          0-12 (or names, see below)
              day of week    0-7 (0 or 7 is Sun, or use names)

[snip]
> 
> I wait wait wait, but the /usr/tmp directory is always empty ...

Your crontab job will run every minute starting at 18:00.

Keep waiting ;-) read a book... read the manual.
-- 
R.Berber


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

