Custom Cron Job

Started by sbtech, June 02, 2022, 09:19:47 PM

Previous topic - Next topic
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


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?