Hello how can I set up that call recording should delete automatically after a certain amount of days?
0 2 * * * /usr/bin/find /var/lib/freeswitch/recordings/*/archive -type f -mtime +90 -exec rm -rf {} \;
#Run fusionpbx-maintenance.sh
#Delete Faxs older than 30 days & clear database whitespace
#Delete voicemail older than 30 days & clear database whitespace
0 21 * * * bash /etc/cron.daily/fusionpbx-maintenance
does that not run daily as its in the cron daily folder ..?here is ho I do it
I use maintenance script to delete old faxes / voicemail over 30 days
I call maintenece script in crontab like DigitalDaz
Code:#Run fusionpbx-maintenance.sh #Delete Faxs older than 30 days & clear database whitespace #Delete voicemail older than 30 days & clear database whitespace 0 21 * * * bash /etc/cron.daily/fusionpbx-maintenance
run-parts /etc/cron.daily
mv /etc/cron.daily/fusionpbx-backup /etc/cron.daily/fusionpbx-backup.conf