Crons Tutorial
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: crons
yep thats exactly what i do, i just create it and then run it by going to localhost\gamefolder\cronscript.php
Re: crons
well, i set windows to run a program at 10pm each night::
seomthing like this:
c:\program files\windows\explorer\iexplorer.exr http://localhost/delta/secure/cron.php? ... assword123
and there ya go .. the file cron.php runs at 10pm each night through the webserver (localhost).
seomthing like this:
c:\program files\windows\explorer\iexplorer.exr http://localhost/delta/secure/cron.php? ... assword123
and there ya go .. the file cron.php runs at 10pm each night through the webserver (localhost).
-
- Posts: 62
- Joined: Tue Nov 24, 2009 11:09 pm
Re: crons
Thick question was this video 12
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: crons
No, video 12 is on the next page. I believe the crons video was not numbered.zolacat999 wrote:Thick question was this video 12
The indelible lord of tl;dr
Re: crons
I understand how crons work and that they are linux only.
When working on my game using localhost, is it possible to simulate a cron on a Windows XP machine? Using scheduler perhaps? How would I set it up to run a php script every 15 minutes?
When working on my game using localhost, is it possible to simulate a cron on a Windows XP machine? Using scheduler perhaps? How would I set it up to run a php script every 15 minutes?
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: crons
yeah just name your cron whatever like healplayers.php
then simply make a scheduler pointing towards the healplayers.php, make sure however that your windiws is setup by default to open .php files in explorer or mozilla or whatever you use. You can also find a host that has crons and just run your crons from there.
then simply make a scheduler pointing towards the healplayers.php, make sure however that your windiws is setup by default to open .php files in explorer or mozilla or whatever you use. You can also find a host that has crons and just run your crons from there.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: crons
When I am ready to start testing on a production server, I am probably going to go with them. They offer a ton of room to scale up (nice to dream, right?), and going for one of the big guys can have its advantages. Good customer service, lots of updates and upgrades, etc.
Do they have any referral system?
Do they have any referral system?
The indelible lord of tl;dr