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

Compatible with MAGEPLAZA Cron Scheduler #117

Open
tim-breitenstein-it opened this issue Apr 27, 2021 · 5 comments
Open

Compatible with MAGEPLAZA Cron Scheduler #117

tim-breitenstein-it opened this issue Apr 27, 2021 · 5 comments

Comments

@tim-breitenstein-it
Copy link

Hi,

does anyone have experience whether the two modules are compatible with each other?

https://github.com/mageplaza/magento-2-cron-schedule

https://www.mageplaza.com/magento-2-cron-schedule/

@onlinebizsoft
Copy link

@JesKingDev
Copy link
Contributor

They don't conflict, but not all of the MagePlaza cron features are compatible. IMO, refactoring so the two can work together would be a great thing but it would be a bit of a lift.

@onlinebizsoft
Copy link

onlinebizsoft commented Sep 16, 2021

@JesKingDev can you give a hint for what might be not working so the community can check and may make some pull requests if needed?

The scheduler one is quite simple, just view the cron job log to the grid and add extra action to execute from admin.

@JesKingDev
Copy link
Contributor

@tim-breitenstein-it and @onlinebizsoft - Based on my installation of both modules and reviewing the code, it looks like these are indeed compatible. There are some key differences in how the two are implemented, but here's what I found:

From the MagePlaza features list

  • ✅ Monitor all cronjobs at the admin backend
  • ✅ Record every state of a cron task in details
  • ✅ Visualize cron tasks in a timetable
  • 🏳️ Manually execute cron jobs
    • This should work, but it executes the job inline and independently from anything MageMojo is doing. There shouldn't be any conflicts here, but there may be some scenarios where the two modules step on each other.
  • ❌ Delete, execute or change the status of multiple cron jobs
    • Tested disabling a cron with the MagePlaza interface, but the schedules continued to run.
  • ❌ Backend notice when cron errors
  • ✅ Auto-send emails when cron errors
  • ✅ Auto-clear cron jobs log
    • MageMojo module also implements this, so no worries here.

@onlinebizsoft
Copy link

Look like it is not compatible because Scheduler module has option to Enable/Disable certain cron job and Mojo one is not aware of these flag data

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

No branches or pull requests

3 participants