in reply to Re^2: RFC: Time Lock Module Idea?
in thread RFC: Time Lock Module Idea?

But we don't want to page the sysadmin every 30 seconds, we want to wait for the next page for at least, say, 60 minutes. Simply check for the lock - if it's locked, don't page. If it is unlocked or reset, lock it and send the page. Then your cron job can exit, knowing that the next invocation will remember this.

Be careful under which circumstances you reset the pager.

One of my friends once used a simple: "email me at first occurance of the problem, and later if someone has fixed it". Then he hit an intermittent bug that toggled the "it works now/it's broken now" status every few minutes, and his mailbox was full of worthless messages. I shudder to think how annoying that would have been if rigged to a pager...

Just a consideration to keep in mind...
--
Ytrew