Asheeown Posted February 20, 2007 Share Posted February 20, 2007 I have a cron job working on a php script, is their a special line of code you need to enter on the page to have it work with a unix cron job because it doesn't seem to execute but it does execute web based Link to comment https://forums.phpfreaks.com/topic/39268-solved-cron-job-with-php/ Share on other sites More sharing options...
tom100 Posted February 20, 2007 Share Posted February 20, 2007 I've always hated trying to do this... Theres always some missing file, etc. If your system has lynx, or you want to curl lynx, you can run something like this: lynx -dump http://www.mysite.com/file.php >/dev/null 2>&1 Link to comment https://forums.phpfreaks.com/topic/39268-solved-cron-job-with-php/#findComment-189239 Share on other sites More sharing options...
Jessica Posted February 20, 2007 Share Posted February 20, 2007 http://www.modwest.com/help/kb5-125.html Link to comment https://forums.phpfreaks.com/topic/39268-solved-cron-job-with-php/#findComment-189241 Share on other sites More sharing options...
Asheeown Posted February 20, 2007 Author Share Posted February 20, 2007 Perfect exactly what I was looking for thanks Link to comment https://forums.phpfreaks.com/topic/39268-solved-cron-job-with-php/#findComment-189243 Share on other sites More sharing options...
Jessica Posted February 20, 2007 Share Posted February 20, 2007 Just a hint, I found that by googling cron PHP - there were plenty of others Link to comment https://forums.phpfreaks.com/topic/39268-solved-cron-job-with-php/#findComment-189246 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.