[openupload-devel] Deleting automatically files
Status: Beta
Brought to you by:
tsdogs
|
From: Sebastien S. <seb...@te...> - 2010-10-30 17:20:27
|
Hello I add the expires otion at 30 days, but i had to go on maintenance menu to delete them. I wrote a script to delete them by adding it on a cron job: #!/bin/bash find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm It's deleting the files but i have to delete too the entrance in the mysql db... any one have an idea of line I have to add ro my scripts? Many thx Sébastien Serre TEX ALLIANCE Logistic & IT Department Tél.+33.(1).56.77.30.11 Fax.+33.(1).76.50.82.23 seb...@te... |