470,874 Members | 1,770 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

Croning a script in Windows

Ike
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
Mar 17 '06 #1
2 1231
Ike wrote:
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


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

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Mar 17 '06 #2
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)

Mar 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Francois Bonzon | last post: by
4 posts views Thread by reachsamdurai | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.