Although I see a number of suggestions on how to apply config changes via command line, I am unclear as to which one really does the trick. What I am looking to do is to have a cron job run every morning at 4:30 am to apply any pending FreePBX configuration changes.
Has anyone else done this or could someone point me in the right direction?
Hi, I added the following entry to my crontab because I would like to auto-apply pending configuration changes every day at 3:00 AM. But, when it runs via either crontab or via manual command entry, the orange “Apply Configuration Changes” indicator is still present in the FreePBX web interface. If it is needed knowledge, I am currently running FreePBX 220.127.116.11. Thanks!
I created a shell script: #!/bin/sh
echo “Time Reload Executing At: $(date)” >> /var/log/messages
/var/lib/asterisk/bin/retrieve_conf >> messages
echo “Reload script exiting at: $(date)” >> /var/log/messages
but it did not work…