Cron Job configuration

  • 02cordellj
  • Novice
  • Novice
  • 02cordellj
  • Posts: 33

Post 3+ Months Ago

Hi,

I am quite new to PHP coding, and have minimal experience with a CPanel. I am trying to configure my cron jobs. ON the CPanel it gives the following information:

Hint: to run PHP files, enter the command as follows (modify to fit your needs):

GET http://yourdomain.com/path_to_file/file.php > /dev/null

Hint: to run CGI files, enter the command as follows (modify to fit your needs):

GET http://yourdomain.com/cgi-bin/path_to_file/file.cgi > /dev/null

my file is a PHP file, the file is on my domain (http://www.the-liberation.com) and the path to the file is public_html/cron_fivemins.php.

So i enter this as the command to run (as demonstrated in the CPanel): GET http://www.the-liberation.com.com/publi ... vemins.php > /dev/null.

This doesn't work, and the updates which are supposed to happen do not. I am not sure whether i have entered the command wrong or whether the script which is being executed is incorrect, so i am posting the script i am using in the PHP section to see if anyone can help there. For the meanwhile, is there anything i am doing wrong at the moment?



I was also wondering, if any of you have used the official cPanel, whether you could take a few screen shots of your cron job configuration screen, if you have any configured
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

Please only post your topic in one forum. It gets confusing to follow when multiple topics on the same issue are created. Use the one you have in the linux forum

http://www.ozzu.com/unix-linux-forum/cron-job-configuration-t72610.html

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 13 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.