whitelist from file
Hi all!
I have a custom script modifying a whitelist file that can be downloaded from a website.
I have set a whitelist up with the data attribute (source_url, dest_file, type) and I'm wondering if it automatically downloads the file periodically, or only whenever crowdsec restarts.
Any help is much appreciated.
6 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
if you have installed it on bare metal linux, there is a
cron.daily
job that runs each day which will attempt to see if the file is out of date, however, it depends on the file headers if there is no X-Modified-Date
returned then it will just wait 7 days before downloading it againthank you very much!
is it the script that runs hub update and hub upgrade?
yeah from
1.6.5
it now updates local data files as well as "official" hub onesThank you very much!
Resolving whitelist from file
This has now been resolved. If you think this is a mistake please run
/unresolve