underdog4321 Posted January 16, 2006 Share Posted January 16, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/3208-running-cron-jobs-on-cpanel/ Share on other sites More sharing options...
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.