This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]