delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/08/05:39:53

X-Spam-Check-By: sourceware.org
Message-ID: <12049954.post@talk.nabble.com>
Date: Wed, 8 Aug 2007 02:39:32 -0700 (PDT)
From: shash <shashikiran DOT v AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Cygwin Cron problem
MIME-Version: 1.0
X-Nabble-From: shashikiran DOT v AT gmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

Before I start, I would like to inform that, I went through all FAQs and
other threads before posting here.
I came across this thread where I faced the similar error, but couldn't get
what they did to resolve it.

http://www.nabble.com/1.5.21-1%3AWindows-2003-Server---Cygwin-Cron-tf2425192.html#a6972241

I 'm trying to schedule a shell script on cygwin using cron. No matter what
I do I don't seem to get the cron job executing my bash script.

My script is temp.sh

echo `date` > /home/test/temp.log

crontab -e is having the following details

* * * * * sh /home/test/temp.sh > /home/test/temp.sh.err 2>&1

I did use the paths in the script itself and I also used the windows path
where the cygwin installed(/cygdrive/d/cygwin/).

I also tried using the following by editing the crontab:

* * * * * date > /home/test/date.txt

Still not working. I don't have administrator login. I ran the
cron_diagnose.sh and it din't give me any errors.

What am I doing wrong? Please help I 'm a newbie to Cygwin.

Thanks
Shash
-- 
View this message in context: http://www.nabble.com/Cygwin-Cron-problem-tf4235168.html#a12049954
Sent from the Cygwin Users mailing list archive 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019