Scheduled posts / wp-cron

Hi.

Simple question regarding scheduled posts and wp-cron.

Fairly new to Trellis and I did read this thread but it didn’t really come to a conclusion, although I can see the referenced fix was merged.

A lot of the sites we build are very reliant on scheduled posts being very much on time for regulatory reasons. Am I right in thinking that the current default (from Bedrock) is that wp-cron is disabled and there is instead a cron job set up by Trellis which triggers wp-cron every 15 minutes?

1 Like

That’s correct.

Here it is in trellis: https://github.com/roots/trellis/blob/1344b41675ad1c93abfcd171a0d007c6812ac34a/roles/wordpress-setup/tasks/main.yml#L44-L52

You could always modify that to be less than 15 mins.

Thanks for the speedy reply, perfect.

Got it and will bear that in mind re: amending the regularity of the crown job execution, good to know.

Auto correct strikes again!

1 Like

Crown Job Execution starring Daniel Craig coming to theaters July 4th.

2 Likes

Ha :sweat_smile:

Lesson learnt: no replies by phone!