Jump to content

cron command not execute


wtp6562

Recommended Posts

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.php
on this server.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>

 

 

thanx for answers..   :shrug:

Link to comment
https://forums.phpfreaks.com/topic/285090-cron-command-not-execute/
Share on other sites

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

 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.  

;D

ok, i test it.. thanx for a reply, i publish the results after test ::)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.