• Resolved batteriesInc

    (@batteriesinc)


    Hi, is there a way to control the plugin from the command line like Akeeba Backup? That way, you could set up cron jobs to enable updates in off peak hours. I’m not sure how the WP update mechanism works, so I don’t know if that would immediate kick off all updates (would be good if you could trigger it), but it alleviates the problem that people occasionally forget to run updates and so miss vital security patches. Or maybe a trigger instruction that would enable updates, trigger all of them and go offline again after any updates have finished, but I suspect that that would take some deep diving into WP core code.

    That said, it would, of course be best if we could get WordPress to provide CLI tools to control and enable/disable/trigger site and plugin updates so we don’t have to bend the framework out of shape.

    I’ve had instances that a plugin updated right in the middle of an Elementor page creation session so the site would go offline for a few seconds. Right there, smack bang in the middle of a logged in session which is what prompted me to disable updates – and yes, that also improved overall site speed.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Command line control for automation?’ is closed to new replies.