Quote from: sy on April 08, 2025, 02:31:39 PMHi,
OPNsense remove after cron service restart if you add a manuel entry to cron file. To make it permanent in GUI please do the followings
1- create a file in "/usr/local/opnsense/service/conf/actions.d/actions_reportingdb.conf"
2- File content should be
[start]
command:service elasticsearch restart
parameters:
type:script
message:Zenarmor Reporting DB is restarting
description:Zenarmor Reporting DB Restart
3- Navigate System - Settings - Cron
4- Add a new cron, set the time and date settings and select "Zenarmor Reporting DB Restart" in Command field and save the cron.
Just what the doctor ordered! Many thanks - will try this shortly!