Skip to content

[cron] Fix the sync cron callback hook#808

Merged
swashata merged 1 commit intodevelopfrom
feature/leo/sync-cron-callback-hook-fix
Jun 29, 2025
Merged

[cron] Fix the sync cron callback hook#808
swashata merged 1 commit intodevelopfrom
feature/leo/sync-cron-callback-hook-fix

Conversation

@fajardoleo
Copy link
Contributor

No description provided.

Copy link
Contributor

@swashata swashata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Also tested with Crontol, looks like the tools aren't registering issues anymore.

CleanShot 2025-06-29 at 18 58 21@2x

if ( $this->is_registered() && $this->is_tracking_allowed() ) {
$this->maybe_schedule_sync_cron();
}
$this->hook_callback_to_sync_cron();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@swashata swashata merged commit e2c4266 into develop Jun 29, 2025
5 checks passed
@swashata swashata deleted the feature/leo/sync-cron-callback-hook-fix branch June 29, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants