##Google Analz## ##Microsoft## ##Googel## Swanand: Schedule Daily Job on Deletion of Old Recordings

Thursday 15 June 2017

Schedule Daily Job on Deletion of Old Recordings

Scheduling this job daily saves me a lot of time from having to do this manually by editing the cron file.
Type in SSH
crontab -e
Add to the bottom then save
### remove WAV files and remove log file daily at after office hours
30 18 * * * rm -f /var/spool/asterisk/monitorDONE/ORIG/*.wav
30 18 * * * rm -f /var/log/httpd/*
35 18 * * * sudo reboot



 For this job I've scheduled, it's set to delete old WAV files and logs at 6:30pm then reboot at 6:35pm every day.

No comments:

Post a Comment

Featured post

Vicidial With WebRTC

Vicidial With WebRTC VICIDial is well known open source call center software. It has been in use by many small to large scaled con...