I"m setting up a backup to an ftp server on a new install of freepbx17 vm on hyperv. Everythings fine till I click submit, then I get this error.
Exception thrown with message “Cron line added didn’t remain in crontab on final check. Check /var/spool/asterisk/tmp/cron.error for reason.”
Viewing the cron.error file says bad day-of-week. I changed the day of week and changed to daily backup but still get the same error.
Stacktrace:
#8 Exception in /var/www/html/admin/libraries/BMO/Cron.class.php:130
#7 FreePBX\Cron:addLine in /var/www/html/admin/libraries/BMO/Cron.class.php:207
#6 FreePBX\Cron:add in /var/www/html/admin/modules/backup/Backup.class.php:1309
#5 FreePBX\modules\Backup:scheduleJobs in /var/www/html/admin/modules/backup/Backup.class.php:1466
#4 FreePBX\modules\Backup:updateBackupSetting in /var/www/html/admin/modules/backup/Backup.class.php:1340
#3 FreePBX\modules\Backup:updateBackup in /var/www/html/admin/modules/backup/Backup.class.php:216
#2 FreePBX\modules\Backup:doConfigPageInit in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:292
#1 FreePBX\GuiHooks:doBMOConfigPage in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:253
#0 FreePBX\GuiHooks:doConfigPageInits in /var/www/html/admin/config.php:449
crontab -u asterisk -e results: