From 9df0b5190eaabc65d75c93eccaebc6f95107652b Mon Sep 17 00:00:00 2001 From: FoAM Date: Tue, 22 May 2018 17:32:11 +0000 Subject: [PATCH] cron --- crontab.txt | 4 ++-- setup.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crontab.txt b/crontab.txt index dc157e1..189cbbb 100644 --- a/crontab.txt +++ b/crontab.txt @@ -27,8 +27,8 @@ 0 20 * * * killall sclang # around 4h UTC (i.e. 6am CEST) startup w/out ntp sync -0 4 * * * screen -S test -m -d /home/foam/ephemeral-garden/setup-12min.sh +0 4 * * * screen -S test -m -d /home/foam/ephemeral-garden/setup.sh # start on reboot (and/or power failure?) -@reboot screen -S test -m -d /home/foam/ephemeral-garden/setup-12min.sh +@reboot screen -S test -m -d /home/foam/ephemeral-garden/setup.sh diff --git a/setup.sh b/setup.sh index 4b94d65..76c8265 100755 --- a/setup.sh +++ b/setup.sh @@ -19,8 +19,6 @@ sleep 5 echo "ephemeral: sclang starting..." -#runuser -l foam -c 'screen -S test -m -d /usr/local/bin/sclang /home/foam/ephemeral-garden/sc3-test.sc >> /home/foam/ephemeral-garden/test.log 2>&1' - /usr/local/bin/sclang /home/foam/ephemeral-garden/ephemera-loop.sc 2>&1 >> /home/foam/ephemeral-garden/test.log echo "ephemeral: sclang spawned..."