delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/29/17:25:36

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 issue
Date: Wed, 29 Jun 2005 16:25:33 -0500
Lines: 25
Message-ID: <d9v35j$97l$1@sea.gmane.org>
References: <92b774de050629140517ab8ab7 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <92b774de050629140517ab8ab7@mail.gmail.com>
X-IsSubscribed: yes

Imran Merali wrote:

> I am trying to get cron to execute a bash script at a certain time,
> but it is not doing so. The script itself works well, but it doesn't
> seem to want to run when i set it up as a cron job. The same thing
> happens when I try to do something simple like output a timestamp to a
> text file each minute. This is a fresh install. Additionally, the line
> in my crontab is identical to that in the crontab on my bsd machine. I
> used cron_diagnose.sh, but it said my install was fine, with the
> exception of a little issue with sendmail, which I tried to correct
> with a symlink to a working mailer.
[snip]

First look into the Windows Event Viewer + Application, you should find a few
events that have, among other things, the crond output.

Second read $CYGWIN_HOME/usr/share/doc/Cygwin/cron.README and see what you need
to have cron email you.

BTW bash scripts work fine with cron, what you describe as doing should work
with no problem.

HTH
-- 
René 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