1

Why can't cron job find basic Linux commands?

view story
linux-howto

http://unix.stackexchange.com – I'm trying to set up a cron job to run a PHP script daily as part of a web-based booking system. It's been running perfectly for several years on a different Apache server using this in the crontab: 0 3 * * * wget -q -O /dev/null http://www.my_other_domain.org.uk/scheduled/my_script.php I've just installed the script on another Apache server, and it runs correctly when called through the browser. However when I try to use cron, the cron daemon gives the message: -: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf-8) -: wget: command not found When I tried 0 3 * * * usr/bin/e (HowTos)