Roundcube Community Forum

Release Support => Pending Issues => Topic started by: next4ideas on October 09, 2013, 02:18:09 PM

Title: bin/cleandb.sh - How to built an cronjob?
Post by: next4ideas on October 09, 2013, 02:18:09 PM
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?
Title: Re: bin/cleandb.sh - How to built an cronjob?
Post by: SKaero on October 09, 2013, 04:11:24 PM
Thats basically right, the only thing you need to consider is what you want to do with the output of the script.
Title: Re: bin/cleandb.sh - How to built an cronjob?
Post by: next4ideas on October 09, 2013, 05:32:44 PM
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