Greik Ancient
New Member
- Messages
- 34
- Reaction score
- 0
- Points
- 0
Im trying to make a mmorpg in php and using x10 for it. And I need some help. Can the server handle it?
Last edited:
CheetahShrk said:The only thing about the games is sometimes they require cron running every 5 minutes or so which may affect the server.
http://www.bitfolge.de/pseudocron-en.htmlFeatures:runs any PHP scriptUsage:
periodical or time-controlled script execution
logs all executed jobs
can be run from an IMG tag in an HTML page
follows Unix cron syntax for crontabs
sends an email with the resultsModify the variables in the config section below to match your server.Note:
Write a PHP script that does the job you want to be run regularly. Be sure that any paths in it are relative to the script that include()s pseudo-cron.
Set up your crontab file with your script
Include pseudo-cron.inc.php in a high traffic page
Wait for the next scheduled run You can log messages from your job script to pseudo-cron's log file by calling logMessage("log a message")