www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/19/19:13:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: cron 00.27
Date: Sat, 19 Jul 2008 18:12:58 -0500
Lines: 34
Message-ID: <g5tsdp$bla$1@ger.gmane.org>
References: <loom DOT 20080719T222829-320 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <loom.20080719T222829-320@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

r wrote:

> I'm trying to use cron, I created a file called backup_cygwin
>=20
> 59 18 * * 6 /bin/backup_cygwin.sh=20
> 00 27 20 7 * /bin/prova.sh
>=20
> and I put it in /var/cron/tabs/

Wrong place!

> then I create prova.sh as follow

Wrong sequence... first create the script, then install it in cron.

> SHELL=3D/bin/sh=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
> touch /home/Proprietario/prova_cron=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
> echo 'cron funziona' > /home/Proprietario/prova_cron
>=20
> I started cron ( with "cron-config" command, ( is it possible=20
> to configure it to start at win boot ? ))

Cron-config did that.

> 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
Ren=E9 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