Tested with Backup Module 2.10.0.17 on FreePBX 2.10 rc1.3.
Goal is to have a back that runs at 12:00 noon every day.
Schedule set to Custom, minutes=00, hour=12, day of week=no selection made, month=no selection made, day of month=no selection made
Save the schedule
Sunday is shown as the (only) selected day for the backup despite no days of the week being selected
Contents of database table for this backup job:
mysql> select * from backup_details where backup_id=6;
+-----------+------------------+-------+---------+
| backup_id | key | index | value |
+-----------+------------------+-------+---------+
| 6 | storage_servers | 0 | 2 |
| 6 | delete_time | | 0 |
| 6 | delete_time_type | | minutes |
| 6 | delete_amount | | 21 |
| 6 | cron_schedule | | custom |
| 6 | cron_month | | |
| 6 | cron_minute | | 0 |
| 6 | cron_hour | | 12 |
| 6 | cron_dow | | |
| 6 | cron_dom | | |
| 6 | bu_server | | 0 |
+-----------+------------------+-------+---------+
11 rows in set (0.00 sec)
"crontab -u asterisk -l" also doesn't show the job, but maybe it is just stored in a different crontab. Including this just in case.
51 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php
@monthly /var/lib/asterisk/bin/backup.php --id=1
@daily /var/lib/asterisk/bin/backup.php --id=5
Thanks,
Tim Miller Dyck