Roundcube Community Forum

 

bin/cleandb.sh - How to built an cronjob?

Started by next4ideas, October 09, 2013, 02:18:09 PM

Previous topic - Next topic

next4ideas

Hello fellas, i read about a routine to clean mysql database with some trash that can be cumulated there,


could you help me to create this cron?
is that right?

php -f /usr/share/psa-roundcube/bin/cleandb.sh


second doubt is, 1 time per month is ok?

SKaero

Thats basically right, the only thing you need to consider is what you want to do with the output of the script.

next4ideas

hi Skaero,

you mean the email when cron runs?

sorry i did not understand,

this script will erase entries that are no long used, this is was i understood