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]

Re: Running bash from cron


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/


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