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? 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. 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. 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? 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... 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 Link to comment https://forums.phpfreaks.com/topic/209925-is-this-possible/#findComment-1095724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.