wtp6562 Posted January 4, 2014 Share Posted January 4, 2014 Hello i create a cron job, every 5 minute push the script, with this command: lynx -source http://mydomain.com/public_html/xxxx.php and that script not execute.. i receive following email: <html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /public_html/xxxx.phpon this server.</p><p>Additionally, a 500 Internal Server Errorerror was encountered while trying to use an ErrorDocument to handle the request.</p></body></html> thanx for answers.. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 Why are you thinking it is a cron's problem? Are you able to load the content from remote URL without cron? The file that contains the command line above, it should have executable rights. Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 Why are you thinking it is a cron's problem? Are you able to load the content from remote URL without cron? The file that contains the command line above, it should have executable rights. yes, why not? yes, i push the same script manually without a problem i use this command via cPanel on godaddy, linux hosting Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 A shared or dedicated server? Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 A shared or dedicated server? hmm, where i can check that? this is hosted on godaddy.. Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 hmm, where i can check that? this is hosted on godaddy.. that is dedicated server Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 Since, you don't know that you are on shared hosting environment Open up a cronjob manager and create multiple cron jobs with different titles by frequency at 5min. I think there is a limmit by 8 jobs in 1 hour. Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 (edited) that is dedicated server Well, then it's easy Check this out. I also need the output of: ls -la path_to_the_file Edited January 4, 2014 by jazzman1 Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 Since, you don't know that you are on shared hosting environment Open up a cronjob manager and create multiple cron jobs with different titles by frequency at 5min. I think there is a limmit by 8 jobs in 1 hour. ok, i test it.. thanx for a reply, i publish the results after test Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 Well, then it's easy Check this out. I also need the output of: ls -la path_to_the_file i check this, but im absolutly amateur in php-linux, i learning this 3 - 4 ... day Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 i check this, but im absolutly amateur in php-linux, i learning this 3 - 4 ... day This could cause furter problems Quote Link to comment Share on other sites More sharing options...
wtp6562 Posted January 4, 2014 Author Share Posted January 4, 2014 This could cause furter problems Its cause surely furter problems Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted January 4, 2014 Share Posted January 4, 2014 Unfortunately, I am also a GUI invalid in Linux and not able to provide my help effectively with cPanel Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.