in reply to automating a task
In the code of your dynamic website, I would add a check to the "eom_process" field in your database. If that field is not "ready", your script serves a static page "This site is now being maintained -- come back later" for your members. Meanwhile your colleague can do all maintenance required and when he is ready he sets the "eom_process" field to "ready" again and your members have access.
All you have to do is change that field to not "ready" when necessary. It would not take too much effort to write a small script to have a cron job do that for you.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: automating a task
by Marshall (Canon) on Jun 01, 2009 at 20:10 UTC |