The cronjobs where implemented
Code
But we have decided to run this job every 5 hours.
The cronjobs where implemented
But we have decided to run this job every 5 hours.
The cronjobs where implemented
Display MoreCode
But we have decided to run this job every 5 hours.
The cronjobs where implemented
As I see here, it's every 5 minutes which is a crazy thing
Ref: https://github.com/i-MSCP/plug…kend/SpamAssassin.pm#L725
https://github.com/i-MSCP/plug…kend/SpamAssassin.pm#L725Also, I'm wondering why it's not configurable as for other cronjobs: https://github.com/i-MSCP/plug…kend/SpamAssassin.pm#L741
The mails which are marked as spam inside Roundcube will be copied into a special sa-learn directory and this will be used by the cronjob.
After the cronjob learned SA with the Spam/Ham the mail (that was copied to this special sa-learn folder) will be deleted.
So usually there is nothing inisde as long as some users mark mails as Spam.
Whatever. Running such a task every 5 minutes is really a crazy thing... Anyway, this could be configurable like other cronjobs isn't it?
BTW: Such a task should be run twice per day max.
Yes sure, we could change that. Make the cronjob options available to be changed in the config and also set the default value higher then 5 minutes.