Add scheduled sync off feeds

Steven 2021-04-02 10:33:57 +02:00
parent 82dfc1e56b
commit d2abf3d27b
1 changed files with 5 additions and 1 deletions

View File

@ -120,8 +120,12 @@ __WELCOME__
#Add crontab to sync data from remote servers
service cron start
##Schedule to sync all servers every hour
{ crontab -l 2>/dev/null || true; echo "0 * * * * /var/www/MISP/app/Console/cake Server pullAll 2 full"; } | crontab -
##Schedule to fetch all feeds at 1 am
{ crontab -l 2>/dev/null || true; echo "0 1 * * * /var/www/MISP/app/Console/cake Server fetchFeed 2 all"; } | crontab -
rm -f /.firstboot.tmp
fi