I have had much success running cygwin bash scripts from cron (Kalab's
crons.exe), however on new machines I install cygwin on, the bash scripts don't
run at all.
the scripts are run from crons like
12 12 * * * * c:\cygwin\bin\bash c:\cygwin\tmp\mybash.sh
Is there some enviornment setup I am mi
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 req
thanks, I didn't know about the config script, I had to chmod group passwd and
a couple of other things.
Thanks again.
--
View this message in context:
http://www.nabble.com/Running-bash-from-cron-t1054952.html#a2747650
Sent from the Cygwin Users forum at Nabble.com.
--
Unsubscribe info:
ok, I spoke too soon, it runs but when I log off it doesn't. I am admin level.
There are no logs. What can I check ?
--
View this message in context:
http://www.nabble.com/Running-bash-from-cron-t1054952.html#a2748116
Sent from the Cygwin Users forum at Nabble.com.
--
Unsubscribe info: ht
4 matches
Mail list logo