www.delorie.com/archives/browse.cgi | search |
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 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: cron.hourly |
Date: | Fri, 15 Apr 2005 15:01:25 -0400 |
Message-ID: | <F71C0DC6B4FD3648815AAA7F969E3529F48697@sr002-2kexc.ateb.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Reid Thompson" <Reid DOT Thompson AT ateb DOT com> |
To: | "Reid Thompson" <Reid DOT Thompson AT ateb DOT com>, |
"Totte Karlsson" <tkarlsson AT qm DOT com>, <cygwin AT cygwin DOT com> | |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j3FJ1mPn031192 |
Reid Thompson wrote: > Totte Karlsson wrote: >> Hi, >> I have started cron as a service under Windows 2000. I 'naively' >> created a directory, /etc/cron.hourly and put a script in there. I >> had hoped that cron would execute the script once every hour but it >> does not work. >> >> How do I get the folders /etc/cron.hourly, etc/cron.daily >> etc/cron.weekly correctly working in cygwin? regards -totte > > $ cat exampleCronFile > #* * * * * command to be executed > #- - - - - > #| | | | | > #| | | | +----- day of week (1 - 7) (monday = 1) > #| | | +------- month (1 - 12) > #| | +--------- day of month (1 - 31) > #| +----------- hour (0 - 23) > #+------------- min (0 - 59) > > 05 15 5 2 * /path/to/executable >/path/to/logfile cron hourly 00 * * * * /path/to/executable >/path/to/logfile will run at the top of each hour 30 * * * * /path/to/executable >/path/to/logfile will run at the bottom of each hour etc... reid -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |