I have this cronjob made to try and update our SSL certificates automatically but it does not seem to work, any advice on how to troubleshoot this? As far as I can tell it has correct syntax but I’m not an expert in cronjobs. Any help would be appreciated thanks!
Well that’s the thing, they won’t update automatically, so I have to run that command every time I want to update the certificates. So I was hoping I could get a cronjob to run it automatically for me. Would the ports have anything to do with that?
Yeah that’s how I’ve been updating them so far is with fwconsole certificate --updateall and it works fine, I’m just trying to find a way where I don’t have to do that every time it needs an update
Cron runs by default in a restricted environment and the PATH might not find fwconsole, you will need to call /usr/sbin/fwconsole to be sure,
(and probably best done in the asterisk ‘user’ cron tab so it’s the same as the gooey.)(