Event track logs are not getting deleted on cron run.

Created on 31 August 2023, about 1 year ago
Updated 13 October 2023, about 1 year ago

Module is tracking actions and log these on Event Track dashboard. But these logs are not getting deleting on CRON run. I have setup the Timespan field value to 1 day. I ran cron manually multiple times and also waited for automatic cron run, but logs older than 1 day are not getting deleted.

I have tried to debug this. Cron hook is getting called and its calling getOldRecords to query DB to get all old records and deleteOldRecords to set batch and calling processOldRecords function to which has delete query. This method processOldRecords is not getting called. Thats why logs are not getting deleted.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India pankajsachdeva

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024