Well i'm not really sure of the proper terminology for this, but I'm interested in how to have a certain script ran at a certain time during the day. (ie. have a update script ran that would cycle through my database for all my users and preform certain actions on their accounts, such as add action points for a game taht are replenished every x ammnt of min/hrs)
~Alzeric
Scheduled script activation....(question)
Moderator: General Moderators
I think you need CRON!
This is a great article on cron...
http://www.htmlcenter.com/tutorials...ls.cfm/155/PHP/
I have had no problems using the "Apache Module" method described here..
good luck!
http://www.htmlcenter.com/tutorials...ls.cfm/155/PHP/
I have had no problems using the "Apache Module" method described here..
good luck!
If you are running windows...
Start > Programs > Accessories > System Tools > Scheduled Tasks > Add new task
I suggest adding a .url file so it opens the link in IE instead of an editor for php.
These types of files can be found by adding the site you want to open to your Favorites, which will create a .url file with that site as the destination, and all you need to do is point the Add new task wizard to that file.
And you might need some javascript to close the window automatically. Sometimes instead of opening in the current window this tool might spawn new windows on every interval.
Gatta love the simplicity of Windows.
Start > Programs > Accessories > System Tools > Scheduled Tasks > Add new task
I suggest adding a .url file so it opens the link in IE instead of an editor for php.
These types of files can be found by adding the site you want to open to your Favorites, which will create a .url file with that site as the destination, and all you need to do is point the Add new task wizard to that file.
And you might need some javascript to close the window automatically. Sometimes instead of opening in the current window this tool might spawn new windows on every interval.
Gatta love the simplicity of Windows.