From: Nicolas Boisselier Date: Wed, 16 Jul 2025 08:29:36 +0000 (+0200) Subject: etc/cron/nb X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=c646ccff3d252e90887f2d48bd8aea277a26deb2;p=nb.git etc/cron/nb --- diff --git a/etc/cron/nb b/etc/cron/nb index 161f5474..a69904cd 100644 --- a/etc/cron/nb +++ b/etc/cron/nb @@ -9,7 +9,7 @@ NB_NOCRON=/run/nb-update.no ##################################################################### # m h dom mon dow user command # -@reboot root . /etc/profile && sleep 30 && nb-update > /var/log/nb-update.log 2>&1 | true +@reboot root sleep 30 && . /etc/profile && nb-update > /var/log/nb-update.log 2>&1 | true */30 09-23 * * * root [ ! -e "$NB_NOCRON" ] && . /etc/profile && nb-update > /var/log/nb-update.log 2>&1 | true 13 00 * * * root [ ! -e "$NB_NOCRON" ] && . /etc/profile && nb-update -cleanup > /var/log/nb-update.log 2>&1 | true