Which approach for managing automatic updates would be more robust?

I don’t think your first snippet is doing what you’ve intended. The third argument to wp_schedule_event is a hook name, which in your case is wp_automatic_updater. This means that as soon as this event is fired, it will run: do_action( ‘wp_automatic_updater’ ); From a quick look at the WordPress codebase, I don’t see anything scheduled … Read more

Cron task not working properly

There are a number of issues here: every_minute doesn’t exist as a cron schedule, so while you’ve successfully scheduled the cron job, WordPress doesn’t know when to run it. keep in mind that WP Cron isn’t precise, if nobody visits your site it won’t run, so it won’t run every minute unless your site is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)