This is the mail archive of the
cygwin
mailing list for the Cygwin project.
crontab not working-need some advice
- From: curiousgeorge <cthoma29 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 9 Jun 2010 10:59:12 -0700 (PDT)
- Subject: crontab not working-need some advice
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