Wade Preston Shearer wrote:
I have a PHP script that runs as intended and without errors when run manually from the command line. When I set cron to run it, however, it fails. It is my understanding that cron executes the script as the user that set up the cron job. Is that true? What would be different from when I run it manually compared to when cron is running it?
Usually some environment variables - the path may not include everything you need to run your script, even though it runs with your permissions. You didn't say exactly what you're running on but the usual thing is to pare down the path to the minimum.

-- Walt



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to