[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: laptop, anacron and lan :



Jerome BENOIT <520066587150-0001@t-online.de> wrote:
> Hi all !
> 
> I have a very naive question:
> is there a very simple way to run job periodically
> BUT only when the LAN connection is enabled ?


Here's my very naive answer:

You could just perform the action all the time, but guard its guts with a
test of the return value of "ping -c 1 -q yahoo.com". 




Reply to: