Some members of the cron family take into account the possibility of
this very scenario. For example, anacron
(https://en.wikipedia.org/wiki/Anacron) does not assume that the system
runs continuously and can run "missed" jobs when power is restored.
There may be other implementations of cron that do similar.

  ~David Klann


On 05/12/2018 11:53 AM, drew Roberts wrote:
> Just wondering if any has any clever solutions for this before I spend
> too much time trying to hack up a sub optimal solution.
> 
> 
> I have a cron job that runs once a night with something like this being
> run in the shell script that is invoked from it:
> 
> /usr/bin/rdlogmanager -g -s ONAIR -d 5
> 
> 
> Sometimes the power is off in the night at the time the cron job should
> run. Then later in the week, there is no log to chain to and we get silence.
> 
> So, I figure there must be a bunch of ways to deal with this
> automatically. I am wondering if anyone has already come op with an
> elegant (and automatic - as in non-human involved) solution to this problem.
> 
> all the best,
> 
> drew
> -- 
> Enjoy great *Bahamian Music* at:
> Bahamian Or Nuttin - http://www.bahamianornuttin.com
> <http://www.bahamianornuttin.com/>
> 
> 
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to