executing PHP script at set time intervals

Discussion in 'PHP' started by Ntech, Jul 28, 2009.

  1. #1
    Hello,

    Is it possible to have a php script execute automatically everyday at a particular hour?

    The timing is important so it can't just execute at midnight for instance.

    My server is running Linux if that matters.

    Thanks.
     
    Ntech, Jul 28, 2009 IP
  2. CRASS

    CRASS Active Member

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #2
    A cron job is what you are looking for! en.wikipedia.org/wiki/Cron
     
    CRASS, Jul 28, 2009 IP
  3. Ntech

    Ntech Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yep, that is what I'm looking for. Thanks!

    I was searching through php manuals trying to find some function that would do it. :)
     
    Ntech, Jul 28, 2009 IP