Jump to content

Recommended Posts

Posted

My programmers are trying to get a CRON job to run.

I have executed the CRON job by addressing it directly @

 

http://serverXXXX/~xxxxx/cron.php

or

http://www.XXXXXXXXX/cron.php

 

It is currently producing some kind of a script error as you will see if you execute it.

 

The error notwithstanding, they have asked me to seek assistance on how to get it to run periodically.

They have access to my account and cpanel.

 

I can set the timer for every minute (for testing) and they use the following url in setting up the job:

php /home/XXXXXXXXXXXX/public_html/xxxxxx/cron.php

 

I don't have much experience at this, but I would have used the following:

http://serverXXXXXX/~xxxxxxx/cron.php

 

But, neither url seems to work.

 

I set the email address to my account, but I receive nothing, thus I'm unable to determine if it is working.

It is supposed to perform some action on my web site (under development).

But since we're debugging a script, I can't tell if it performs the desired action, except for the obvious error it shows if you execute it manually.

 

Any thoughts before I create a Helpdesk Ticket?

 

Regards,

Russell Cox

Posted

I 've set the cron job for your account. You can see that on cPanel => Cron Jobs option

However, you may check the cron script with the developer as it is throwing errors.

Posted
I 've set the cron job for your account. You can see that on cPanel => Cron Jobs option

However, you may check the cron script with the developer as it is throwing errors.

 

How do get the CRON job to email me optionally to report success?

 

Regards,

Russell Cox

Posted
I 've set the cron job for your account. You can see that on cPanel => Cron Jobs option

However, you may check the cron script with the developer as it is throwing errors.

 

While I can attest to the fact that the CRON Job is running, based on what the script is doing, darned if I can see what you did to change the way I had it specified.

It would help in the future if I understood.

 

Regards,

Russell Cox

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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