I saw that the adduser command did have the -m which should have created the directory. But I looked at the history and saw that Andrew had just a few days ago corrected the command from -M to -m. I guess that is what happened.
It happened again this morning. It was fixed by an inbound call before I could run the command. Sorry for the unformatted post, having some issues with that.
I think my issue is different than np_pyroās. My system does have an ā/home/asteriskā directory however it is empty. If I run the ācrontab -l -u asterisk | grep schedtcā no results are returned.
If I remove the grep and just eyeball it there are 15 lines and I donāt see anything similar in there.
If I review the /var/log/cron, I do see the command being ran, āAug 11 08:43:01 cog-voip-01 CROND[18250]: (asterisk) CMD ([ -x /var/www/html/admin/modules/dashboard/scheduler.php ] && /var/www/html/admin/modules/dashboard/scheduler.php)ā including the version I have that is manually running the ā/var/lib/asterisk/bin/schedtc.php --debugā every 5 minutes.
If I grep those logs though for schedtc though, āgrep schedtc /var/log/cronā the results stop a few days ago.
I did not compile from source. It is a very old freepbx distro installed from iso that has been through a large number of updates. I am running:
*PBX Firmware: 10.13.66-20
*Asterisk: 11
*Framework: 13.0.192.9
The issue occurred again this morning and the user reporting it said it happens every day. Iām not sure thatās true, but possibly every day recently based on what I am seeing in the logs. If I run through āgrep schedtc /var/log/cron*ā the last time I see it run is on Aug 9, which is the same as it was from my post on Aug 11. It looks like once the issue starts, it wonāt resolve until I manually run the command.
Is crond failing? If the cron program is stopping, your cron jobs will not run.
check the existence and permissions on the file /var/www/html/admin/modules/dashboard/scheduler.php to make sure it is executable and exists. If itās executable, it probably exists, so ā¦
As a ābandaidā fix, Iād start watching crond to make sure it is running all the time.
Hate to drag up an old thread but am running 13.0.31.11 Time Conditions and seem to be seeing the exact same issue as described. The BLF/Hints seem to work for a random period of time and then just stop working. Honestly itās probably been going on since the original post was made but weāve just started using time conditions again within the past couple of months, so nobody had BLFās defined.
Started running through some of the troubleshooting above and could swear that asteriskās crontab did not have the schedtc line in it when I first checked. Then I noticed that there were again cron entries popping up in the log and when I looked sure enough the schedtc entry was in asteriskās crontab. No way to tell if it was my imagination or not since asteriskās crontab seems to be updated once a minute. Will definitely be checking for that first next time it stops working.