Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0/fix/event import cron #42

Merged
merged 2 commits into from
Jun 15, 2021
Merged

Conversation

jonatanhanson
Copy link
Contributor

Duct tape fix that solves problem with cron jobs that is randomly removed.

  • Solution: Added a check (checkCronActivation) on every time user enters admin page and navigates to post type event, then it will double check if cron option is checked and if cron is still registered. If cron is missing in the list it will reschedule automatically.
  • Moved all cron methods to a new Cron class
  • Also added fix to remove the cron job when option is disabled.

@sebastianthulin sebastianthulin merged commit c8529b2 into 3.0/develop Jun 15, 2021
@nRamstedt nRamstedt deleted the 3.0/fix/event-import-cron branch November 30, 2021 14:09
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.

None yet

2 participants