<div dir="auto"><div dir="auto">Run it @reboot, then in a loop wait/sleep until ping returns a result, then run your command.</div><br><div data-smartmail="gmail_signature">--<br>finger painting on glass is an inexact art - apologies for any errors in this scra^Hibble<br><br>()/)/)() ..ASCII for Onno..</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 June 2022, 19:33 , <<a href="mailto:leighton@clucas.eu">leighton@clucas.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>A problem I would like some help with:</p>
<p>1. I want to set up a cron job that runs 5 minutes after boot to run a script from github. It needs to happen say 5 minutes after boot to ensure that an internet connection has been established. I can use @reboot but that would occur immediately on boot when there would be no internet.</p>
<p>Would @reboot +5 be an option?</p>
<p>Any advice</p>
<p>Cheers</p>
<p>Leighton</p>
</div>
_______________________________________________<br>
PLUG discussion list: <a href="mailto:plug@plug.org.au" target="_blank" rel="noreferrer">plug@plug.org.au</a><br>
<a href="http://lists.plug.org.au/mailman/listinfo/plug" rel="noreferrer noreferrer" target="_blank">http://lists.plug.org.au/mailman/listinfo/plug</a><br>
Committee e-mail: <a href="mailto:committee@plug.org.au" target="_blank" rel="noreferrer">committee@plug.org.au</a><br>
PLUG Membership: <a href="http://www.plug.org.au/membership" rel="noreferrer noreferrer" target="_blank">http://www.plug.org.au/membership</a></blockquote></div>