mpelchat
(Marc Pelchat)
1
Hello,
I’m trying an install of PBX14, and am having issues with the RELOAD button. When I press it, the following error comes up:
exit: 255
Unable to continue. Cron line added didn’t remain in crontab on final check in /var/www/html/admin/libraries/BMO/Cron.class.php on line 113
#0 /var/www/html/admin/libraries/BMO/Cron.class.php(180): FreePBX\Cron->addLine(’* * * * * [ -x …’)
#1 /var/www/html/admin/modules/timeconditions/Timeconditions.class.php(159): FreePBX\Cron->add(’* * * * * [ -x …’)
#2 /var/www/html/admin/modules/timeconditions/functions.inc.php(198): FreePBX\modules\Timeconditions->updateCron()
#3 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(95): timeconditions_get_config(‘asterisk’)
#4 /var/lib/asterisk/bin/retrieve_conf(866): FreePBX\DialplanHooks->processHooks(‘asterisk’, Array)
#5 {main}
I’ve asked my friend Google, but no solutions have worked. I’ve tried to reinstall crontabs as suggested, but no luck.
Anyone have a similar issue?
1 Like
tm1000
(Andrew Nagy)
2
Probably because your crontab file is corrupt.
crontab -u asterisk -e
1 Like
mpelchat
(Marc Pelchat)
3
That did the trick. How the corruption happened though is another question.
Thanks
tm1000
(Andrew Nagy)
4
Yes it’s happened on a few machines and we aren’t sure what causes it. It seems to happen on first boot though.
I had this problem with virtual machines on Hyper-V, on physical machines did not have this problem
clmnz
(Cameron M )
6
Apologies for reviving an old thread, we have recently been seeing the same issue and are using VMWare, did anyone ever find the cause of this issue?
I just encountered this today as well.
exit: 255
Unable to continue. Cron line added didn't remain in crontab on final check. Check /tmp/cron.error for reason. in /var/www/html/admin/libraries/BMO/Cron.class.php on line 117
#0 /var/www/html/admin/libraries/BMO/Cron.class.php(184): FreePBX\Cron->addLine('59 23 * * 0 /va...')
#1 /var/www/html/admin/libraries/utility.functions.php(626): FreePBX\Cron->add('59 23 * * 0 /va...')
#2 /var/www/html/admin/modules/queues/functions.inc/cron.php(77): edit_crontab('', Array)
#3 /var/www/html/admin/modules/queues/functions.inc/dialplan.php(18): queues_set_backup_cron()
#4 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(95): queues_get_config('asterisk')
#5 /var/lib/asterisk/bin/retrieve_conf(861): FreePBX\DialplanHooks->processHooks('asterisk', Array)
#6 {main}
FreePBX 14.0.1.20 from Distro
I was modify groups in User Manager when this happened. The UI offered a retry button, after clicking it things seemed to go smooth. Strange…
despitia
(Diego Espitia)
8
My solution:
crontab -u asterisk -e
Delete all and add:
- 1 * * * /usr/sbin/fwconsole certificates updateall -q
9 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php
54 * * * * /usr/sbin/fwconsole util cleanplaybackcache -q
@monthly ID=freepbx_backup_1 /var/lib/asterisk/bin/backup.php --id=1 >/dev/null 2>&1
*/1 * * * * /usr/sbin/fwconsole calendar sync 2>&1 > /dev/null
-
-
-
-
- [ -x /var/www/html/admin/modules/dashboard/scheduler.php ] && /var/www/html/admin/modules/dashboard/scheduler.php > /dev/null 2>&1
*/15 * * * * /usr/sbin/fwconsole userman --syncall -q
-
-
-
-
- [ -x /var/lib/asterisk/bin/schedtc.php ] && /var/lib/asterisk/bin/schedtc.php