Cron jobs failing - permissions?

roskopfj

Member
Dec 7, 2004
20
0
151
When I try to run cron jobs under the reseller or end user account it fails, even though the account has access to the directory. I've also got shell access enabled. For example when I run the following command from the root account it works fine, however when the scoast user tries to set up the same job in cron it fails. Any ideas? Since it works as root it's got to be a permissions problem.

php /var/home/scoast/public_html/osm4/010/messagecron.php
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
wget will pull the page messagecron.php

and run it as if you went to your site with a browser and ran it I asume thats what you want to do