-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Accepted
-
Affects Version/s: 13
-
Fix Version/s: None
-
Component/s: Time Conditions
-
Labels:None
-
ToDo:
-
Distro Version:10.13.66-20
-
Distro:FreePBX Distro
The script /var/lib/asterisk/bin/schedtc.php fails ungracefully if Asterisk is not running.
The above script is ran every every minute by cron. On boot, cron starts pretty early in the system, and is extremely likely there will be one or two runs that fail before Asterisk is fully up and running.
Cron notifies of the failed attempt sending an email from root to the owner of the cron job, asterisk.
Depending on the mail server configuration in FreePBX, the mail can remain stale in the local maildir for the "asterisk" user, or be sent to "asterisk@<pbx_domain>" from "root@<pbx_domain>".
Schedtc.php should fail gracefully if asterisk is not running, or the cron job should be only enabled after Asterisk has started.
- relates to
-
FREEPBX-15107 Dashboard Cron errors when asterisk isn't running
-
- Closed
-