Crons Tutorial

Location of the Videos
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: crons

Post by hallsofvallhalla »

yep thats exactly what i do, i just create it and then run it by going to localhost\gamefolder\cronscript.php
User avatar
Hutch
Posts: 95
Joined: Wed Aug 12, 2009 11:12 pm

Re: crons

Post by Hutch »

When you run that using taskmanager do you have a new browser window open? Do you use something else like wget?
mrmajic
Posts: 117
Joined: Sat Jun 27, 2009 9:37 am

Re: crons

Post by mrmajic »

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).
Mr Majic...

Current Project: http://www.deltarealm.net
feedback welcome.
zolacat999
Posts: 62
Joined: Tue Nov 24, 2009 11:09 pm

Re: crons

Post by zolacat999 »

Thick question was this video 12
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: crons

Post by Jackolantern »

zolacat999 wrote:Thick question was this video 12
No, video 12 is on the next page. I believe the crons video was not numbered.
The indelible lord of tl;dr
User avatar
OldRod
Posts: 1320
Joined: Sun Sep 20, 2009 4:26 pm

Re: crons

Post by OldRod »

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?
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: crons

Post by hallsofvallhalla »

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.
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: crons

Post by neronix17 »

Got a new card :) I can now use godaddy and they are brilliant, very cheap too :D
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: crons

Post by Jackolantern »

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?
The indelible lord of tl;dr
User avatar
Kirbie
Posts: 33
Joined: Sun Apr 11, 2010 5:44 pm

Re: crons

Post by Kirbie »

Can you run crons on your own server? Is there a program out to buy and put on my own server, or do you have to go through a web host?
Image
Post Reply

Return to “Older Browser MMO Videos”