setting up a cron job

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #1

    setting up a cron job

    Hey guys; I really liked Andy's script and I am
    thinking of using it for a heavy development site
    (me and a friend are working on building a forums script).

    But-- how do I set up a cron job so the
    page is automaticly executed when I want?

    Say I want it once every other day,
    can I do that? How so?

    Or once a week?
    Maybe once a day?

    I have NO IDEA about how to
    use cron jobs as I never have,
    and I'd like input from those whom have
    before I go about it as I want to be
    EXTREMELY careful with this site.
    "How can someone be so distracted yet so focused?"
    - C
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    Mine seems to be working great.

    In the advanced cron editor:
    Set the minutes day, etc as you want. mine run:
    Minute 0
    Hour 3
    Day *
    Month *
    Weekday *
    Command php /home/username/public_html/script.php
    This makes it run a php script at that url at 3am everyday.

    Works great so far.
    Dan Blomberg

    Comment

    • Jonathan
      Senior Member
      • Mar 2004
      • 1229

      #3
      alright-- I tried it, time to wait and see
      I'm gonna have to use this to send out the "threatening final notice"
      email to customers when its like three days b4 payment time
      "How can someone be so distracted yet so focused?"
      - C

      Comment

      Working...