Hi all
I have a client that is wanting to move their EspoCRM installation to a new server. They have not enabled "Clean up deleted records". They have recently deleted a large number of records (>4,000) and have approx. 120Gb of files in the data/upload directory - many belonging to record now marked as "remove".
I have activated the "Clean up deleted records" but need to accelerate the process so that the records and associated attachments in data/upload are removed.
I have studied the cleanup.php file but any changes I have made to the periods do not appear to have any effect. (I have changed the settings to run every 15 minutes - */15 * * * *)
protected $cleanupJobPeriod = '10 days';
protected $cleanupActionHistoryPeriod = '15 days';
protected $cleanupAuthTokenPeriod = '1 month';
protected $cleanupAuthLogPeriod = '2 months';
protected $cleanupNotificationsPeriod = '2 months';
protected $cleanupAttachmentsPeriod = '15 days';
protected $cleanupAttachmentsFromPeriod = '3 months';
protected $cleanupRemindersPeriod = '15 days';
protected $cleanupBackupPeriod = '2 month';
protected $cleanupDeletedRecordsPeriod = '3 months';
protected $cleanupWebhookQueuePeriod = '10 days';
How do I change teh settings to make all these records disappear when the cleanup job is next run. Am I missing something?
Any help would be greatly appreciated.
V: 5.7.11
I have a client that is wanting to move their EspoCRM installation to a new server. They have not enabled "Clean up deleted records". They have recently deleted a large number of records (>4,000) and have approx. 120Gb of files in the data/upload directory - many belonging to record now marked as "remove".
I have activated the "Clean up deleted records" but need to accelerate the process so that the records and associated attachments in data/upload are removed.
I have studied the cleanup.php file but any changes I have made to the periods do not appear to have any effect. (I have changed the settings to run every 15 minutes - */15 * * * *)
protected $cleanupJobPeriod = '10 days';
protected $cleanupActionHistoryPeriod = '15 days';
protected $cleanupAuthTokenPeriod = '1 month';
protected $cleanupAuthLogPeriod = '2 months';
protected $cleanupNotificationsPeriod = '2 months';
protected $cleanupAttachmentsPeriod = '15 days';
protected $cleanupAttachmentsFromPeriod = '3 months';
protected $cleanupRemindersPeriod = '15 days';
protected $cleanupBackupPeriod = '2 month';
protected $cleanupDeletedRecordsPeriod = '3 months';
protected $cleanupWebhookQueuePeriod = '10 days';
How do I change teh settings to make all these records disappear when the cleanup job is next run. Am I missing something?
Any help would be greatly appreciated.
V: 5.7.11
Comment