delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/07/13:23:52

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
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT 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 DOT WNT DOT 4 DOT 58 DOT 0510071413450 DOT 480 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071005110 DOT 501 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT WNT DOT 4 DOT 58 DOT 0510071635180 DOT 572 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071114350 DOT 501 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT WNT DOT 4 DOT 58 DOT 0510071835090 DOT 540 AT sn2307128>
Mime-Version: 1.0
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/

- Raw text -


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