Lucky2710 Posted August 5, 2010 Share Posted August 5, 2010 Is it possible to make a page automatically refresh at certain time? Say i wanna automatically refresh the page every morning at 6 am. Is that possible in php or what should i use to do that? Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/ Share on other sites More sharing options...
bh Posted August 5, 2010 Share Posted August 5, 2010 Refresh the page at a fix time? Youre mean a console script? Eg in Linux: Write a console PHP script, and than create shell script what calls your PHP script and then put your shell script into CRON. Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095708 Share on other sites More sharing options...
schilly Posted August 5, 2010 Share Posted August 5, 2010 just create a cron job to run your script. Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095714 Share on other sites More sharing options...
Lucky2710 Posted August 5, 2010 Author Share Posted August 5, 2010 K can someone give me an example of CRON? Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095715 Share on other sites More sharing options...
bh Posted August 5, 2010 Share Posted August 5, 2010 I gave you a link. Or Google... Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095720 Share on other sites More sharing options...
Lucky2710 Posted August 5, 2010 Author Share Posted August 5, 2010 K thanks Quote Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095724 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.