Add cleaner cronJob

pull/155/head
Yossi 2017-12-11 12:41:51 +02:00
parent 91fc363f76
commit bc52bec634
1 changed files with 7 additions and 0 deletions

View File

@ -388,6 +388,13 @@ cd /home/Cardigan/dride-ws
sudo npm i --production
# setup clear cron job
crontab -l > cleanerJob
echo "* * * * * node /home/Cardigan/modules/video/helpers/cleaner.js" >> cleanerJob
#install new cron file
crontab cleanerJob
rm cleanerJob
echo "========== Install Indicators ============"
echo "# Needed for SPI LED" >> /boot/config.txt