littlebizzy / slickstack

Lightning-fast WordPress on Nginx
https://slickstack.io
GNU General Public License v3.0
624 stars 113 forks source link

Consider integrating WP-Cron to ensure SS crons running properly #178

Closed jessuppi closed 3 months ago

jessuppi commented 1 year ago

I have been thinking about this for a while, and I think a potential "backup" health surety for SlickStack servers, esp. in regard to the crontab and core cron jobs, would be somehow using WP-Cron.

For example, when users load pages on the WordPress site, an occasional WP-Cron job could trigger some sort of health check on the backend of SlickStack.

This seems necessary due to SlickStack's reliance on cron jobs, and potential wget (etc) jankiness...

jessuppi commented 3 months ago

Since we have moved to using WP-CLI as the default cron method, with Linux/PHP as backup method, I think we probably have to abandon this idea for now as going forward, access to /wp-cron.php is denied in Nginx.

Closing this for now, but comments are welcome --