Jump to content

Archived

This topic is now archived and is closed to further replies.

underdog4321

Running cron jobs on cPanel

Recommended Posts

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

 

UPDATE:

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:

<?PHP

echo "hello world";

?>

 

What am i doing wrong?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.