Why do I get Permission Denied errors when using wget, lynx or GET via cron?
We have security measures in place to restrict access to these applications due to their use in remote third party attacks associated with any vunerable scripts in use on our server.
When running a script via cron, it is recommended that clients use the following syntax in their command:
Perl / CGI Scripts:
perl /home/username/path/to/script.cgi
PHP Scripts:
/usr/local/bin/php -q /home/username/path/to/script.php
In the above commands substitute the path for the correct path to the script you wish to execute.
Related Articles
You can run PHP scripts anywhere on your web space with the exception of the "cgi-bin".
Yes we allow you to run FromMail type scripts, we strongly recommend that you use the nmsFormMail script for your "form to email" script rather...
Yes, for a number of reasons certain scripts and types of script are banned. It's extremely important that clients check our terms of service to...
We have a security measure in place in PHP on all servers called "open_basedir". This is where PHP scripts are restricted with regard to what parts...
The path to Sendmail on our servers is:
/usr/sbin/sendmail