Croning a script in Windows

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is there a means of having a php script, which simply resides on the server,
from executing every X minutes somehow? I mean, where it executes on the
server every X minutes without it being accessed via a browser calling it
through Apache?

Any ideas on this? Thanks, Ike

Re: Croning a script in Windows

Ike wrote:
Quoted text here. Click to load it

Check the Microsoft website.  Look for "scheduled tasks".

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: Croning a script in Windows

Just edit a script (.bat) that contains, i.e.:

c:\php\php.exe c:\mypath\myscrpt.php

Then scedule the script (scheduled tasks, probably in control panel, it
depends on your win version)

Site Timeline