Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Custom Crontab Service
« previous
next »
Print
Pages: [
1
]
Author
Topic: Custom Crontab Service (Read 542 times)
cardoso.cristian
Newbie
Posts: 5
Karma: 0
Custom Crontab Service
«
on:
December 28, 2022, 04:13:47 pm »
I'm trying to configure an execution script in configd according to the documentation:
https://docs.opnsense.org/development/backend/configd.html
I accessed the /usr/local/opnsense/service/conf/actions.d/actions_filter.conf file and created the following call:
[vpn-monitor]
command:/usr/local/bin/php /root/vpn-monitor/vpn-monitor.php
parameters:
type: script
message: Coleta de usuarios de vpn %s
description:Coleta vpn
I restarted the configd service, and via GUI I configured it so that there was a cron call every 5 minutes, but I didn't find it in the log of this execution in /var/log/configd/latest.log
Is there somewhere I can validate if cron is running correctly, if I run the script manually it runs correctly.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Custom Crontab Service