I’m looking to carry out a full backup from within asterisk Ver.11.11.0 backup and restore module, including postfix folder and kron job for coming hardware change.
I know where the postfix folder is stored but despite searching am unable to find location for kron job - the job is for putting machine to sleep during out of working hours period. Could someone please tell the folder or file path I need to back up?
It is cron not kron. Where cron files are stored is not Asterisk or FreePBX dependent. Different OS version store the files in different locations.
but no matter your OS, from your shell:-
thanks but man cron does not help me, I’ve checked every location that I can interpret and no details corresponding to my particular cron job are visible.
when I type cat /var/spool/cron/* - I get the following below: my cron job is at the end but no location info.
I also try to navigate into the crontab folder but it says it does not exist even though it shows under etc when I dir. my version of os is - SHMZ release 6.5 (Final) cpe:/o:schmooze:linux:6:GA
*28 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php
0 0 1 * * php /var/lib/asterisk/agi-bin/backuprecordings.php 2>&1 >/dev/null
*/5 * * * * php /var/www/html/admin/modules/qxact_reports/import_queue_data.php 2>&1 >/dev/null
/60 * * * * /var/lib/asterisk/bin/storage.php
14 4 * * * php /var/lib/asterisk/agi-bin/abnormal.php 2>&1 >/dev/null
@monthly ID=freepbx_backup_1 /var/lib/asterisk/bin/backup.php --id=1
6 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php
00 19 * * * sudo rtcwake -u -s 46000 -m mem
Found location, it’s in /var/spool/cron/ within a file called root. the manual did say this but I wasn’t expecting the file name to be called root which I now understand is username, right under my eyes.