[plug] cron job advice

Byron Hammond byronester at gmail.com
Wed Jun 15 13:22:24 AWST 2022


I would go the systemd timer as mentioned earlier

from my mobile

On Wed, 15 June 2022, 8:00 am Onno Benschop, <onno at itmaze.com.au> wrote:

> 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
>
> _______________________________________________
> 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/590c569b/attachment.html>


More information about the plug mailing list