Peggy Posted October 15, 2009 Share Posted October 15, 2009 I want to write a script that will run at 11:30 Dec 31. I want to erase data that is 2 years old. To the best of my understanding most scripts don't run unless the page is open. Is there a function that will make it run even if no one has the page open. Quote Link to comment https://forums.phpfreaks.com/topic/177810-solved-script-that-runs-when-the-page-isnt-open/ Share on other sites More sharing options...
jonsjava Posted October 15, 2009 Share Posted October 15, 2009 CRON scripts do this. Quote Link to comment https://forums.phpfreaks.com/topic/177810-solved-script-that-runs-when-the-page-isnt-open/#findComment-937550 Share on other sites More sharing options...
Peggy Posted October 15, 2009 Author Share Posted October 15, 2009 What is a CRON script? Quote Link to comment https://forums.phpfreaks.com/topic/177810-solved-script-that-runs-when-the-page-isnt-open/#findComment-937555 Share on other sites More sharing options...
Psycho Posted October 15, 2009 Share Posted October 15, 2009 This will tell you everything you need to know about CRON scripts: http://lmgtfy.com/?q=cron+script Quote Link to comment https://forums.phpfreaks.com/topic/177810-solved-script-that-runs-when-the-page-isnt-open/#findComment-937557 Share on other sites More sharing options...
Peggy Posted October 15, 2009 Author Share Posted October 15, 2009 Thank You!!!!!!!!!!!!! Quote Link to comment https://forums.phpfreaks.com/topic/177810-solved-script-that-runs-when-the-page-isnt-open/#findComment-937577 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.