Jump to content


Running cron jobs on cPanel

  • Please log in to reply
No replies to this topic

#1 underdog4321

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 January 2006 - 01:23 PM

I have a website on this host, that has a cPanel 10 interface.
I want to run [a href=\"http://www.domain.com/mycron.php?id=12345\" target=\"_blank\"]http://www.domain.com/mycron.php?id=12345[/a] on a regular basis, using a cron job.
But when i enter these details into a cron job using the cPanel interface (Cron jobs -> Standard), with the full url and all, i get a "no such file or directory".

I understand that I need to use lynx, but when i do the following cron job:
* * * * * * /usr/bin/lynx -dump /home/mysite/public_html/mycron.php

i get in my mail the php script itself, and not it's output. meaning:
echo "hello world";

What am i doing wrong?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users