Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= Subject: Re: cron issue Date: Wed, 29 Jun 2005 16:25:33 -0500 Lines: 25 Message-ID: References: <92b774de050629140517ab8ab7 AT mail DOT gmail DOT 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 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/