ricky_vancouver Posted December 12, 2010 Share Posted December 12, 2010 Hey guys and gals, Here's my problem. I just finished programming an online game and I have some php script that generates xml files. Well, to do this, I type in the address of the file on the server and pass it to variables in the addressbar. It then queries a database and does everything fine and dandy. Problem is, I need it to do that automatically. I cannot be sitting at my computer 24-7 typing stuff in the address bar. Is there a way I can run the php script and pass those variables automatically? Quote Link to comment https://forums.phpfreaks.com/topic/221403-runing-scripts-automaticaly/ Share on other sites More sharing options...
BlueSkyIS Posted December 12, 2010 Share Posted December 12, 2010 If you are on non-Windows, look into crontab, which can schedule down to once per minute. Windows has... AT, I believe. Someone else would be better to answer for Windows. Quote Link to comment https://forums.phpfreaks.com/topic/221403-runing-scripts-automaticaly/#findComment-1146219 Share on other sites More sharing options...
ricky_vancouver Posted December 12, 2010 Author Share Posted December 12, 2010 thanks Quote Link to comment https://forums.phpfreaks.com/topic/221403-runing-scripts-automaticaly/#findComment-1146243 Share on other sites More sharing options...
laffin Posted December 12, 2010 Share Posted December 12, 2010 Yes, there are a number of cron for windows, i think wincron is one. and there are other alternatives besides cron, if yer php supports system/pcntl. Quote Link to comment https://forums.phpfreaks.com/topic/221403-runing-scripts-automaticaly/#findComment-1146250 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.