13

crontab - runninf a java script just isn't quite working...

view full story
linux-howto

http://www.unix.com – hi gurus. I have a little script that runs java from a certain directory. This script runs fine when run manually but when I try to schedule it, it fails to find the script. Code: little_script.sh.. /<directory of java>/java -classpath dsapi-6-5-3.jar:xerces.jar:ADLTools.jar:jdom.jar:activation.jar:mail.jar:bin <****.java file program> the crontab entry.. 17 15 * * * cd <dir of script>; little_script.sh returned:- Code: /bin/sh: run.sh: command not found Nearest I've got is where I.. the crontab entry.. Code: 24 15 * * * /<dir of script>/little (HowTos)