DPatrick Posted April 27, 2004 Posted April 27, 2004 Where do I find information on how to set up cron job? Quote
TCH-Bruce Posted April 27, 2004 Posted April 27, 2004 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. Quote
DPatrick Posted April 28, 2004 Author Posted April 28, 2004 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. Quote
TCH-Bruce Posted April 28, 2004 Posted April 28, 2004 (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 April 28, 2004 by TCH-Bruce Quote
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.