[plug] cron job advice

Onno Benschop onno at itmaze.com.au
Wed Jun 15 08:00:13 AWST 2022


Run it @reboot, then in a loop wait/sleep until ping returns a result, then
run your command.

--
finger painting on glass is an inexact art - apologies for any errors in
this scra^Hibble

()/)/)() ..ASCII for Onno..

On Tue, 14 June 2022, 19:33 , <leighton at clucas.eu> wrote:

> A problem I would like some help with:
>
> 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.
>
> Would @reboot +5 be an option?
>
> Any advice
>
> Cheers
>
> Leighton
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20220615/c7cc47e8/attachment.html>


More information about the plug mailing list