This commit is contained in:
FoAM 2018-05-22 17:32:11 +00:00
parent 70e21781dd
commit 9df0b5190e
2 changed files with 2 additions and 4 deletions

View file

@ -27,8 +27,8 @@
0 20 * * * killall sclang 0 20 * * * killall sclang
# around 4h UTC (i.e. 6am CEST) startup w/out ntp sync # 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?) # 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

View file

@ -19,8 +19,6 @@ sleep 5
echo "ephemeral: sclang starting..." 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 /usr/local/bin/sclang /home/foam/ephemeral-garden/ephemera-loop.sc 2>&1 >> /home/foam/ephemeral-garden/test.log
echo "ephemeral: sclang spawned..." echo "ephemeral: sclang spawned..."