X-Spam-Check-By: sourceware.org Message-ID: <2745584.post@talk.nabble.com> Date: Fri, 3 Feb 2006 11:01:12 -0800 (PST) From: "Cygnut (sent by Nabble.com)" Reply-To: Cygnut To: cygwin AT cygwin DOT com Subject: Re: Running bash from cron In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: Nabble Forums X-Nabble-From: Cygnut References: <2744886 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Thanks Igor. I already uninstalled crons and did this cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv -S cron I put a simple script in there like this 51 * * * * /tmp/doit.sh ran crontab `cat the above file` crontab -l yields above net stop cron net start cron < i realize this may not be required, but I am trying everything before writing > doit.sh is #!/bin/bash PATH=/usr/bin:/bin echo OK > /tmp/OK at 52 minutes no /tmp/OK file /var/log/cron.log just says cron started How can I troubleshoot this ? I really need it to work or I have to write my program in f*cking vbscript, which I hate. Thanks -- View this message in context: http://www.nabble.com/Running-bash-from-cron-t1054952.html#a2745584 Sent from the Cygwin Users forum at Nabble.com. -- 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/