kristopherWindsor Posted February 14, 2007 Share Posted February 14, 2007 If I put a PHP file on a server, can I get that file to run every six hours without someone accessing the page? I want to automatically archive a page on another web site. [move] [/move] Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted February 14, 2007 Share Posted February 14, 2007 Use cron if you have a linux server or Task Scheduler if you have a windows server. Quote Link to comment Share on other sites More sharing options...
kristopherWindsor Posted February 14, 2007 Author Share Posted February 14, 2007 Thanks. I am just another user on this server, so I'm not sure how to access cron from the command line. ??? I put the phpinfo() line up; can I get more specific instructions? I am new to PHP and Linux (which I haven't run myself ). http://fusionware.ourproject.org/itech/microforum/phpinfo.php Quote Link to comment Share on other sites More sharing options...
o3d Posted February 14, 2007 Share Posted February 14, 2007 Check this out for linux: http://www.unixgeeks.org/security/newbie/unix/cron-1.html I just don't trust task scheduler, so i wrote a service to control and execute my php scripts. Quote Link to comment Share on other sites More sharing options...
kristopherWindsor Posted February 14, 2007 Author Share Posted February 14, 2007 Thanks. Quote Link to comment 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.