james-l
6/5/2017 - 5:09 PM

del files old than 7 days in cron job

del files old than 7 days in cron job

# delete old dynamic analysis files
0 1     * * *   root    find /home/dynamic/git/app-security/dynamic-analysis/samples_cache -mtime +7 -type f -delete
0 1     * * *   root    find /home/dynamic/git/app-security/dynamic-analysis/reports -mtime +7 -type f -delete