Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/robwent/wp-check-scheduled-posts-cli/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WP Check Scheduled Posts with WP-CLI
This plugin is based on the scheduled-post-trigger plugin but uses wp-cli commands rather than running each time a user hits the site.
Commands
There is only one command.
php wp-cli.phar wpcspc check_posts
This checks for posts that have publish status set to 'future' with a past publishing time.
If any posts are found they will be transitioned to the 'publish' state.