On Sat, 07 Jan 2012 14:21:51 +0200
Kaya Saman wrote:
> The strange thing is that if I run this script manually 
> /root/java_restart/java_restart.sh it works fine and does what it's 
> supposed to do. 

The commonest reason for scripts that that work from a terminal
failing under cron is that the environment isn't set-up correctly.
Usually it's PATH that's missing or incomplete.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to