fix issue with cronjob was not written
This commit is contained in:
parent
b79438d346
commit
6f8d70de55
|
@ -275,16 +275,16 @@ sudo npm i --production
|
||||||
|
|
||||||
|
|
||||||
# setup clear cron job
|
# setup clear cron job
|
||||||
crontab -l > cronJobs
|
sudo crontab -l > cronJobs
|
||||||
|
|
||||||
# setup cleaner cron job
|
# setup cleaner cron job
|
||||||
echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/cleaner.js" >> cronJobs
|
sudo echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/cleaner.js" >> cronJobs
|
||||||
|
|
||||||
# setup ensureAllClipsAreDecoded cron job
|
# setup ensureAllClipsAreDecoded cron job
|
||||||
echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/ensureAllClipsAreDecoded.js" >> cronJobs
|
sudo echo "* * * * * sudo node /home/Cardigan/modules/video/helpers/ensureAllClipsAreDecoded.js" >> cronJobs
|
||||||
|
|
||||||
crontab cronJobs
|
sudo crontab cronJobs
|
||||||
rm cleanerJob
|
sudo rm cleanerJob
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user