I am running fwconsole with a cronjob to apply config after midnight and it was working for a while. Recently we noticed its not working.
In cron logs I can see this:
22:24:01 XXXXXX-pri CROND[31688]: (root) CMD (fwconsole reload #Apply Config Nightly ) but the red apply config does not go away.
running fwconsole reload manually works.
Any idea why this is happening?
No config change for sure because I am trying to see why this is not working and I am ruing cronjob( changing time to see it is running the command for sure ) and I am not changing configuration. I am checking cron logs.
I will check freepbx logs to see what’s going on and this is happening on two server. Thank you!
This is the error message I have in freepbx log when command is running from cronjob , but running fwconsole reload from CLI , I dont get any error message
Thank you for your reply, this is what I have
which runuser
/usr/sbin/runuser
[root@xxxx-pri ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
I updated my cronjob and I am using sudo cronjob -e to create this cron job and now, I dont have fail message in freepbx.log. Yet, apply is not done.