We have an HA cluster which works well.
One problem I have is that the cron jobs on the standby node still try to run but because the file systems are not mounted on that node they just error and send an email.
eg:-
Cron Daemon [email protected]
Cron asterisk@freepbx-b /var/lib/asterisk/bin/schedtc.php
/bin/sh: /var/lib/asterisk/bin/schedtc.php: No such file or directory
Is this the expected behaviour, I suspect it is?
If so perhaps it’s worth putting in a simple local script on each node for each crontab entry that is run and that looks for the real script if its currently on the local node and runs it, otherwise it just silently returns without error? It might be a simple way of removing some of the emails the systems send.
The next major version (14) is slated to have cron jobs for HA reworked. But this is a bug in time conditions, most cron job are set to redirect output to /dev/nul but the schedtc.php does not do this. Suggest you file a ticket at issues.freepbx.org.