From 43aab1c843beb4a468dda242f33d6327a848b428 Mon Sep 17 00:00:00 2001 From: FoAM Date: Tue, 22 May 2018 09:06:31 +0000 Subject: [PATCH] cron --- crontab.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crontab.txt b/crontab.txt index 00c9bf0..02ee9ac 100644 --- a/crontab.txt +++ b/crontab.txt @@ -23,9 +23,9 @@ # in foam's crontab. check timezone and clock sync -# */5 * * * * /home/foam/ephemeral-garden/check.sh >> /home/foam/ephemeral-garden/test.log 2>&1 -* 07 * * * /home/foam/ephemeral-garden/morning.sh >> /home/foam/ephemeral-garden/test.log 2>&1 -* 23 * * * /home/foam/ephemeral-garden/evening.sh >> /home/foam/ephemeral-garden/test.log 2>&1 +# around seven AM UTC i.e. startup w/out ntp sync +0 7 * * * screen -S test -m -d /home/foam/ephemeral-garden/setup-12min.sh -# in root's crontab. check timing -# 0 4 * * * /sbin/shutdown -r +5 +# on reboot (and/or power failure?) + +@reboot screen -S test -m -d /home/foam/ephemeral-garden/setup-12min.sh