Croning a script in Windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ike

    Croning a script in Windows

    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


  • Jerry Stuckle

    #2
    Re: Croning a script in Windows

    Ike wrote:[color=blue]
    > 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
    >
    >[/color]

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

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • marco.bellani@gmail.com

      #3
      Re: Croning a script in Windows

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

      c:\php\php.exe c:\mypath\myscr pt.php

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

      Comment

      Working...