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
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

Link to comment
Share on other sites

 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 ::)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.