• I have a cronjob that updates my WP sites every night via wp-cli. I want to be informed about errors (and only errors) during the update process via mail. So I use the parameter --quiet which suppresses „informational messages“:

    wp plugin update --all --quiet

    However if a plugin is updated wp-cli still outputs a message like:

    +------------+-------------+-------------+---------+
    | name       | old_version | new_version | status  |
    +------------+-------------+-------------+---------+
    | insert-php | 2.0.2       | 2.0.4       | Updated |
    +------------+-------------+-------------+---------+
    

    (How) Can I suppress those messages too?

    Regards,
    Stefan

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to update WordPress via wp-cli without output messages?’ is closed to new replies.