Learn about the automated tasks that JWT Auth Pro schedules in WordPress
JWT Auth Pro schedules several automated tasks to handle analytics data aggregation and cleanup. These tasks are essential for maintaining the performance and data management of your WordPress site.
Aggregates daily analytics data at midnight UTC to maintain performance and provide insights.
Performs deep analytics consolidation every Monday at 1 AM UTC for historical data.
Manages data retention based on your configuration to maintain optimal database performance.
Hook Name: jwt_auth_daily_analytics
Schedule: Daily at midnight (UTC)
This task aggregates the analytics data from the previous day into summary records for efficient dashboard access. The aggregation process collects and summarizes:
Hook Name: jwt_auth_weekly_consolidation
Schedule: Weekly on Monday at 1 AM (UTC)
This task performs a deeper consolidation of analytics data:
Hook Name: jwt_auth_cleanup_analytics
Schedule: Daily
This task manages the retention of analytics data based on your settings:
You can configure the tasks through the JWT Auth Pro settings panel:
When the plugin is deactivated:
wp_clear_scheduled_hook()
These actions allow you to hook into the process and perform additional tasks. Be careful when adding hooks to these actions as they run automatically in the background.