X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <r.berber@computer.org>
Subject:  Re: cron 00.27
Date:  Sat, 19 Jul 2008 21:15:44 -0500
Lines: 40
Message-ID: <g5u74d$vha$1@ger.gmane.org>
References:  <loom.20080719T222829-320@post.gmane.org> <g5tsdp$bla$1@ger.gmane.org> <loom.20080719T232339-335@post.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <loom.20080719T232339-335@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

r wrote:

>>> I started cron ( with "cron-config" command, ( is it possible=20
>>> to configure it to start at win boot ? ))
>> Cron-config did that.
>=20
> so I did once and from next time it will be started at boot
> time ? Because I did not find this information everywhere.

Yes it will start at boot time (if and only if you answered yes when=20
cron-config asked you "Do you want to install the cron daemon as a=20
service?"), you can check it in many ways:

- Running: cygrunsrv -Q cron
- Opening My Computer -> Manage -> Services and Applications -> Services

>>> but at 00.27 nothing appened. Did I make something wrong ?
>> You didn't learn to use cron:
>>
>> man crontab
>>
>> less /usr/share/doc/Cygwin/cron-4.1-6.README
>=20
> I read the documents in /usr/share/doc/cron/, the cron manpages=20
> but they did not specify those informations.
> Now I read /usr/share/doc/Cygwin/cron-4.1-6.README and crontab
> manpage but again they don't specify those informations.
> You are right about reading documentation, and maybe I had to
> look on the web, but I was told that cygwin apps are not exactly
> the same as linux apps. So looking in linux apps docs may be unuseful.

Cron under Cygwin is very close to the one usually distributed with=20
Linux.  I think the man page has all the information you requested, even=20
some you didn't but should know to avoid mistakes like putting a file=20
under /var/cron/tabs; the top of the man page tells you that crontab is=20
the tool you should use, the alternative (inherited from Linux) is to=20
use /etc/cron.d/ .
--=20
Ren=C3=A9 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/

