remove old recordings
Posted: Tue Apr 06, 2010 5:45 pm
When I installed my server, it WAS:
### remove old recordings more than 7 days old
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
Today, after 3 months when My HDD is 80% filled , I uncommented it.
Now, when i reboot, I don't see any decrease in space.
24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
"24 0" means it will run at Exactly when its 24 hr on the server time ??
What if that time calling is going on ??
### remove old recordings more than 7 days old
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
Today, after 3 months when My HDD is 80% filled , I uncommented it.
Now, when i reboot, I don't see any decrease in space.
24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
"24 0" means it will run at Exactly when its 24 hr on the server time ??
What if that time calling is going on ??