Originally Posted by blainemiller
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.
Please put things in CODE tags..makes it much easier to read. And Cygwin on a W23K server isn't really Linux, is it?
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.