Add cleaner cronJob

This commit is contained in:
Yossi 2017-12-11 12:41:51 +02:00
parent 91fc363f76
commit bc52bec634

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