Is there anyway to purge out the Sent Faxes automatically that show in the UCP? I would like to either not save them in the first place or purge them out once they are, say, 1 week old.
Hi,
You can add a cronjob that will delete files older than a week. If the files are located at some place other, locate its location and change it accordingly in the cron job.
#Deletes fax files older than a week
0 3 * * * /usr/bin/find /var/spool/asterisk/fax/ -type f -mtime +7 -exec rm {} \; > /dev/null 2>&1
Thank you,
Daniel Friedman
Trixton LTD.
1 Like
Perfect - that works. Thank you
Hi,
You’re welcome.
Daniel Friedman
Trixton LTD.