Cron Jobs Access Denied
Posted: Tue Mar 06, 2012 2:14 pm
				
				Hey all 
I recently found cron jobs, and how to do it
Well i got a script that should be runeed every 5 minutes so it doesn't "fu*k" the Server speed.
But i also have a mail command that should send a email every time the cron job is runned.
But in the email it says:
/bin/sh: /home/oryzhonc/public_html/Scripts/vw/resx.php: Permission denied
Here's the command:
Minute Hour Day Month Weekday Command
*/5 * * * * /home/oryzhonc/public_html/Scripts/vw/resx.php
Just for information: I got a deny access of the Scripts folder but i dont know how i did it :S
Here's the htaccess:
Well, the main problem is that the script is not being executed :S (Its a resource's system, so it goes through the database and gives resources to the people that passed the 1 hour time)
			
I recently found cron jobs, and how to do it

Well i got a script that should be runeed every 5 minutes so it doesn't "fu*k" the Server speed.
But i also have a mail command that should send a email every time the cron job is runned.
But in the email it says:
/bin/sh: /home/oryzhonc/public_html/Scripts/vw/resx.php: Permission denied
Here's the command:
Minute Hour Day Month Weekday Command
*/5 * * * * /home/oryzhonc/public_html/Scripts/vw/resx.php
Just for information: I got a deny access of the Scripts folder but i dont know how i did it :S
Here's the htaccess:
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} ^oryzhon\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.oryzhon\.com$
RewriteRule ^/?$ "http\:\/\/www\.oryzhon\.com\/en" [R=301,L]
Options -Indexes