From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5227 invoked by alias); 29 Jun 2005 21:25:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5202 invoked by uid 22791); 29 Jun 2005 21:25:24 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 21:25:24 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DnjwO-0007eF-VO for cygwin@cygwin.com; Wed, 29 Jun 2005 23:17:53 +0200 Received: from 201.129.16.78 ([201.129.16.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 23:17:52 +0200 Received: from rberber by 201.129.16.78 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 23:17:52 +0200 To: cygwin@cygwin.com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: cron issue Date: Wed, 29 Jun 2005 21:44:00 -0000 Message-ID: References: <92b774de050629140517ab8ab7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: <92b774de050629140517ab8ab7@mail.gmail.com> X-IsSubscribed: yes X-SW-Source: 2005-06/txt/msg01191.txt.bz2 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/