<div dir="auto"> I would use a systemd timer. OnBootSec might be what you need <a href="https://www.freedesktop.org/software/systemd/man/systemd.timer.html">https://www.freedesktop.org/software/systemd/man/systemd.timer.html</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 June 2022, 7:45 pm Gregory Orange, <<a href="mailto:home@oranges.id.au">home@oranges.id.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 14/6/22 19:33, <a href="mailto:leighton@clucas.eu" target="_blank" rel="noreferrer">leighton@clucas.eu</a> wrote:<br>
> 1. I want to set up a cron job that runs 5 minutes after boot to run a<br>
> script from github. It needs to happen say 5 minutes after boot to<br>
> ensure that an internet connection has been established. I can use<br>
> @reboot but that would occur immediately on boot when there would be no<br>
> internet.<br>
<br>
Hack job:<br>
<br>
@reboot sleep 300; ~/bin/do-thing.sh<br>
<br>
_______________________________________________<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><br>
</blockquote></div>