I created a script to do something (after I reduced it just to echo "IS FINALLY WORKING" for testing purpose). If I type
it works ok.
The problem is that I need a cron to access it and it doesn't work.
To set up the cron I used:
15 * * * * /var/www/html/somedir/script.sh
15 * * * * bash /var/www/html/somedir/script.sh
I see no result at all.
Also I tried to log it
15 * * * * /var/www/html/somedir/script.sh > cronscriptlog.log
The log is empty.
The os is CentOS 5.5.