WPCloudDeploy / wp-cloud-deploy

WPCloudDeploy is a WordPress plugin that allows you to easily deploy and manage your own dedicated high-performance WordPress servers and sites at any cloud server provider.
https://wpclouddeploy.com
Other
91 stars 42 forks source link

V5 Core | Linux Crons for Sites #70

Closed unakriti closed 1 year ago

unakriti commented 1 year ago

Hi,

I am playing with Linux cron intervals for deployed sites. Screenshot below for 5 minutes interval:

WPCD Linux Cron for Sites Screenshot from 2022-10-12 19-49-43

Unless I am missing something obvious, when I verify with a crontab -e terminal command, the output does not differ whether the cron interval is set to 1, 2, or 5 minutes. Screenshot below:

WPCD crontab -e Output Screenshot from 2022-10-12 19-54-17

I was hoping to see the interval changes reflect in there. Is this expected behaviour?

Kind regards,

elindydotcom commented 1 year ago

Yes, that is expected behavior. The crontab entry you're highlighting is a bootstrap script. The actual logic for the times for individual sites are embedded in configuration files are used by that script.

unakriti commented 1 year ago

Ah okay, I only looked at the asterisks and not the latter part of the cron job. :)

Thanks for the clarification.