Cron interval question

It looks like by default Trellis configures the wp cron event run --due-now to run every 15 minutes as seen in the Ansible setup file at trellis/roles/wordpress-setup/tasks/main.yml

Would there be any unintended consequences if I shorten the interval to every 5 minutes instead?

I want to set up a Wordpress hook to be called every 5 minutes, and I’m assuming that I need the cronjob to run atleast every 5 minutes or even more often.

No, not really. We should probably make that default lower. Maybe to 10 minutes.

Cron intervals really only run into problems if you have multisite (and lots of sites) and it takes the full internal time to run them all.

This topic was automatically closed after 42 days. New replies are no longer allowed.