cron not working under cygwin
I'm running cygwin 1.7 on a vanilla win2k3 r2 server. I've put together a simple crontab that I'll paste in her in a sec. The crontab entries call several shell scripts that do either scp's or rsync's from linux servers to this win2k3 box under cygwin.
The problem is that the scripts work and run fine from the commandline. Just not when called from the crontab. I'm running from the root equivalent administrator UID. The crontab log files are empty of errors.
0 5 * * * ./home/administrator/scripts/xfer_vvm_ora.sh
0 5 * * * ./home/administrator/scripts/xfer_nab_vnnab.sh
0 10 * * * ./home/administrator/scripts/xfer_nab_csnab.sh
0 6 * * * ./home/administrator/scripts/xfer_dellsrv20.sh
0 6 * * * ./home/administrator/scripts/xfer_directory.sh
0 6 * * * ./home/administrator/scripts/xfer_perforce.sh
0 6 * * 2 ./home/administrator/scripts/xfer_fileserv.sh
0 5 * * * ./home/administrator/scripts/xfer_vvm_mysql.sh
Like I said, the scripts execute fine from the command line.
Any help would be appreciated. Thanks in advance.
Regardless, remove the period from the "./home" and try it. You may also want to put something like "> /logs/xfer_nab_vnnab.log" after the commands, so you get some output of what's going on.
I'll give it a try and let you know...
And I agree with you on the Cygwin on win2k3, but it's what I've been given to work with. Sorry if I've offended the folks here with the "semi"-linux question.
Thanks again for the pointer...
|All times are GMT -5. The time now is 05:25 AM.|