On Sat, 03 May 2008 18:43:54 +0200 Goswin von Brederlow wrote:

> Francesco Poli <[EMAIL PROTECTED]> writes:
> 
> > A wait & retry mechanism could be implemented, but... will it delay the
> > remaining cron daily jobs, as well?
> 
> Yes it would. At least when run serialy.
> 
> So maybe an at job would be better. If the file is locked run the
> script aagin in now+10m with --retry <N>. If N exceeds 6 fail.
> Something like that.

This is interesting.
It would mean that apt should Recommends: at and that the script should
test -x /usr/bin/at before attempting to adopt such retry strategy.
However it could be done, I think.


-- 
 http://frx.netsons.org/doc/index.html#nanodocs
 The nano-document series is here!
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgp41yhftkbjD.pgp
Description: PGP signature

Reply via email to