CRONy

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

    #1

    CRONy

    Hello my php buddies

    Just looking for some advice from seasoned phpers like yourselves.

    I am just starting messing with CRON. I can set up a cron job to run a php
    script each hour, but I have several web sites on one server that may need a
    script running.

    I was contemplating running one "manager" script each hour that would check
    a mysql table and where necessary run one of a range of possible scripts,
    probably one at a time to spread any load.

    1. Is this the best way of doing this?

    If yes, what fields do you recommend? (id, ref, scriptURL, timestamp,
    active(1/0))

    Is it worth creating a log file to keep an eye on what and when scripts have
    run?

    Any other advice welcomed.

    Nel.


Working...