I've written a perl script that will do some file archiving and ftp'ing. This script works perfectly. It resides in the drectory /brian/
I would like to automate this script, and I have attempted to write a cron job to run every 5 minutes, executing this script. From what I can see, this cron job should work, but it does not. I've tried two ways, one by having the cron job run the perl script:
00,05,10,15,20,25,30,35,40,45,50,55 * * * * /brian/perlscript.pl
and also by having the cron run a shell script to execute the perl script:
00,05,10,15,20,25,30,35,40,45,50,55 * * * * /brian/run.sh
where run.sh is:
Can anyone help?