1
22.1 Legacy Series / Custom Cron Job
« on: June 02, 2022, 09:19:47 pm »
I have been trying to setup a custom cron job. Googled and found several forum posts about action.d. So I created a file and restarted the service but nothing showing up in cron.
action.d file and service restart
When I goto System->Settings->Cron and try and add a new job I can't find it in the list?
action.d file and service restart
Code: [Select]
root@dmz01:/usr/local/opnsense/service/conf/actions.d # more actions_sbt.conf
[uploadacmecertificates]
command:/usr/local/bin/removed
parameters:-s removed
type:script
message:Upload Acme Certificates
root@dmz01:/usr/local/opnsense/service/conf/actions.d # service configd restart
Stopping configd...done
Starting configd.
root@dmz01:/usr/local/opnsense/service/conf/actions.d #
When I goto System->Settings->Cron and try and add a new job I can't find it in the list?