Add ensureAllClipsAreDecoded to cron job dride/dride-core#47
This commit is contained in:
parent
3f94254ca8
commit
386dfdf443
|
@ -273,9 +273,16 @@ sudo npm i --production
|
||||||
# setup clear cron job
|
# setup clear cron job
|
||||||
crontab -l > cleanerJob
|
crontab -l > cleanerJob
|
||||||
echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/cleaner.js" >> cleanerJob
|
echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/cleaner.js" >> cleanerJob
|
||||||
|
|
||||||
|
# setup ensureAllClipsAreDecoded cron job
|
||||||
|
crontab -l > ensureAllClipsAreDecoded
|
||||||
|
echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/ensureAllClipsAreDecoded.js" >> ensureAllClipsAreDecoded
|
||||||
|
|
||||||
# install new cron file
|
# install new cron file
|
||||||
crontab cleanerJob
|
crontab cleanerJob
|
||||||
|
crontab ensureAllClipsAreDecoded
|
||||||
rm cleanerJob
|
rm cleanerJob
|
||||||
|
rm ensureAllClipsAreDecoded
|
||||||
|
|
||||||
|
|
||||||
echo "========== Install Indicators ============"
|
echo "========== Install Indicators ============"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user