mirror of https://github.com/MISP/misp-docker
Add scheduled sync off feeds
parent
82dfc1e56b
commit
d2abf3d27b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue