Neil Bothwick writes:

> On Mon, 24 Jan 2011 10:59:16 -0800, Mark Knecht wrote:
> 
>> Maybe a cron job that no matter what reloads the old rules 1 hour later?
> 
> Wouldn't at make more sense? You don't want the thing to keep reloading
> your old config, at will do it once, and you can remove the task from the
> at queue once you successfully log back in.
> 
> echo "command to reload old rules" | at now + 1 hour

I usually do a
        sleep 10m && restore the state
in a screen session. If things are okay and I can login, I re-attach the
screen and cancel the sleep with Ctrl-C. If I cannot login, I have to
wait 10 minutes.

        Wonko

Reply via email to