X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.5 required=5.0	tests=BAYES_40,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <28833847.post@talk.nabble.com>
Date: Wed, 9 Jun 2010 10:59:12 -0700 (PDT)
From: curiousgeorge <cthoma29@yahoo.com>
To: cygwin@cygwin.com
Subject: crontab not working-need some advice
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hi,
I installed cygwin on windows server 2003 and am trying to learn about cron.
I created a simple script as follows:
#!/usr/bin/bash
#move the file every 1 min
echo 'date' >> datelog.txt
mv datelog.txt outbound

I then created a crontab using the command crontab -e as follows:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.3k4GtqrIIX installed on Sat Jun  5 14:51:33 2010) # (Cron
version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
*/1 * * * * /home/administrator/scripts/mvscript

but nothing is happening. I was able to successfully run the script
manually. But when trying to accomplish it through cron, nothing happens. I
checked the services in start -->administrative tools-->services and I see
cron Daemon running. I dont see anything in logs either.
Any advice would be appreciated.
Thanks,

-- 
View this message in context: http://old.nabble.com/crontab-not-working-need-some-advice-tp28833847p28833847.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

