I have a PBX Appliance on 14/Asterisk 13. While logged in via root, I am attempting to test setting up a cron job:
0 5 * * * /usr/sbin/fwconsole reload
In doing so it looks like it is identifying as having missing components. When I look at the modules (Zulu, pm2, etc.) everything is installed and up to date.
Any idea on what I need to do in order to get the reload cron working?
Should I be setting the cron up via the asterisk user instead of root?
I will try this, although yesterday I did su into the asterisk user and placed: 0 5 * * * /usr/sbin/fwconsole reload
via crontab -e
It still did not work
I’ll try as you suggest though I think there might be something with the nodejs install. Do I need the quotes like you have them? 0 5 * * * su asterisk -c "/usr/sbin/fwconsole reload"