lnl has asked for the wisdom of the Perl Monks concerning the following question:
In the configuration, users will designate a time each day when everyone is logged OUT of their IN/OUT board. Whenever the script is run to check the board, it should look to see whether it is time (or past time) to log everyone out and whether it has already happened. I thought maybe I could somehow use a semaphore file and/or 'stat' the file.
Does anyone have a code snippet that does this?
The crontab alternatives I have found try too hard to act like real cron jobs, and I want to keep this very simple and transparent for the users.
Thanks,
--lnl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple crontab alternative
by fmerges (Chaplain) on Jul 16, 2005 at 18:33 UTC | |
|
Re: Simple crontab alternative
by Cody Pendant (Prior) on Jul 17, 2005 at 07:51 UTC | |
by lnl (Pilgrim) on Jul 17, 2005 at 14:00 UTC | |
|
Re: Simple crontab alternative
by lnl (Pilgrim) on Jul 17, 2005 at 17:34 UTC | |
|
Re: Simple crontab alternative
by TedPride (Priest) on Jul 18, 2005 at 07:00 UTC |