Jump to content

Recommended Posts

Posted

Log into cPanel with your user name/password. On the left hand side of the cPanel page scroll down to the bottom. On the left hand side of the page there is a link to documentation. That should help you.

 

Moving to another forum for organization.

Posted

Sorry Bruce,

 

I reviewed the Documentation, however it was very simplisitic. I entered my command string and the time for the cron job to run which is everyday at midnight.

 

except that I received an error report from the server stating the following:

 

/bin/sh: line 1: www.troop186.com/cgi-bin/upcoming_events.cgi: No such file or directory

 

 

 

So what's wrong? Can I not execute a cgi script from cron?

 

The Script upcoming_events.cgi updates a file from a calendar program and displays the information on my website. hence the reason to automate the process. :P

Posted (edited)

I think the command would look more like this

 

sh /home/~your cpanel login name/public_html/cgi-bin/upcoming_events.cgi

 

You are running a *nix script not a web page. It can't resolve you domain.

 

Someone correct me if I am wrong.

 

Also be sure the CGI script is in the cgi-bin folder and has permissions of 755.

 

I left out the public_html folder.

Edited by TCH-Bruce

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