mongocli cloud-manager automation watch¶
automation watch command monitors the specified
Cloud Manager project's automation configuration status until it reaches
a goal state, at which time it displays a confirmation message.
mongocli cloud-manager|cm automation watch [ --output|-o <output-format> ] [ --profile|-P <profile-name> ] [ --projectId projectId ]
--help to view the command-line help for
Name of the profile where the public and private keys for the project are saved. If omitted, uses the
automation watch command continuously polls a Cloud Manager
project's automation configuration status until it reaches a goal
state. While the command is polling, it periodically prints dots
.) to the terminal.
When the automation configuration reaches a goal state, or if it is already in an stable state, the command prints a confirmation message.
If the command prints an error, see Troubleshooting for recommended solutions.
mongocli cloud-manager automation watch command
monitors the Cloud Manager project associated with the default
mongocli cloud-manager automation watch
In this example project, the Cloud Manager replica set is restarted just before running the command. The command prints dots while the replica set is restarting, then prints a status message:
....................... Changes deployed successfully