I want to set up cron job to FTP my recording that are 2 months old, how would I do this? Basically I want to keep all recording on local server for 2 month then upload them. Thanks Thad
Last edited by chasejordan1 on Thu Oct 25, 2012 8:36 pm, edited 1 time in total.
crontab -e shows the ftp recording cron. Modify that perl script to only move files that are over two months old and you're good. Remember to make a copy of it, modify the copy, execute the copy ... so you always have the original to refer to. I don't remember if that uses mysql to grab DB entries or a "find" command to grab the files ... but either one can be modified to grab based on a date relative to today.
Vicidial Installation and Repair, plus Hosting and Colocation Newest Product: Vicidial Agent Only Beep - Beta http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294