Schedule of Run Command in AWS Systems Manager

2k Views Asked by At

In my AWS account, under AWS Systems Manager > Run Command, I can see nothing under Commands tab but there are a lot of tasks records under Command history. I can see which document these tasks run on. However, I have no idea why there are so many command history here and why some tasks run daily. Where are these commands configured and how are they set to run daily?

2

There are 2 best solutions below

0
On

See If a run command document is associated with,

  1. Maintenance window under AWS Systems Manager
  2. State Manager Association under AWS Systems Manager. In the command history, the comment section will be filled with "Apply association with ... "
  3. Event rules under AWS Cloudwatch.

You can also look at the cloudtrail logs to see if any specific service started the Run Command execution ( eg. Lambda ).

1
On

SSM > Create Maintainance Windows > Register Run command task