Hi ,
I asked b4
“Im making a browser based game. And on every hr I want a script to run that will sort out scores etc. I have the script sorted out but don’t know how to make it run on the hr!
I have made a script that will check on each page requested if a hr process is needed, but this would slow down the users retrieval of the page as the script would have to run.
This would be a last resort, and I can’t run the script on my pc manually every hr.
Any thoughts?
+ Im running on tripod so have no admin level access to the servers in ne way.”
But now I am moving to a new host and they have c panel 6 and this has cron jobs on it, and this was suggested b4
“GiffordS
This is really tough to do without being able to schedule cron jobs. You're right about setting a check on each page. That would definitely slow down retrieval. As an alternative, would it be feasible to just run the update script every time someone logs in? That way whenever a player logs in the scores get refreshed, you don't have to worry about the timer, etc. Just a thought
”
I don’t know what cron jobs are, and as it’s a php script that it is processing, I thought that one of you lovely people could help.
Thanx in advance
SOLEX
I asked b4
“Im making a browser based game. And on every hr I want a script to run that will sort out scores etc. I have the script sorted out but don’t know how to make it run on the hr!
I have made a script that will check on each page requested if a hr process is needed, but this would slow down the users retrieval of the page as the script would have to run.
This would be a last resort, and I can’t run the script on my pc manually every hr.
Any thoughts?
+ Im running on tripod so have no admin level access to the servers in ne way.”
But now I am moving to a new host and they have c panel 6 and this has cron jobs on it, and this was suggested b4
“GiffordS
This is really tough to do without being able to schedule cron jobs. You're right about setting a check on each page. That would definitely slow down retrieval. As an alternative, would it be feasible to just run the update script every time someone logs in? That way whenever a player logs in the scores get refreshed, you don't have to worry about the timer, etc. Just a thought
”
I don’t know what cron jobs are, and as it’s a php script that it is processing, I thought that one of you lovely people could help.
Thanx in advance
SOLEX