Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Which CRON jobs are needed?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Which CRON jobs are needed? (Read 2327 times)
KoS
Newbie
Posts: 34
Karma: 2
Which CRON jobs are needed?
«
on:
August 25, 2020, 11:17:25 am »
I see that there are many cron jobs available in the configuration and was wondering which of them I need to add/activate.
E.g. there is a
update and reload firewall aliases
cron job available. I have configured some
URL Table (IPs)
firewall aliases and have set a refresh frequency. As far as I can see from the log files of my web server where the aliases are being downloaded, they are being downloaded in regular intervals, even without having a cron job
update and reload firewall aliases
added in the cron job list.
How do I know which cron jobs i need to add and which are anyways "somehow" being executed in the background?
Thanks for clarification.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Which CRON jobs are needed?
«
Reply #1 on:
August 26, 2020, 07:31:47 am »
afaiu they don't actually use cron to update aliases with update frequency set. looks like API call to configd (something like "configctl filter refresh_aliases"). and update frequecy is a <ttl> value in filter_tables.conf.
https://docs.opnsense.org/development/backend/configd.html
so you can not see this schedule in cron. but you can set your own in cron with predefined job (update and reload firewall aliases) and disable TTL in alias definition.
Logged
KoS
Newbie
Posts: 34
Karma: 2
Re: Which CRON jobs are needed?
«
Reply #2 on:
August 26, 2020, 10:39:51 am »
Thanks Fright for the clarification. Makes sense but is just not that obvious :-)
greets
KoS
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Which CRON jobs are needed?