Question on AWS SSM Run Command

0

I created a common administrative task via run command with AWS-RunPowerShellScript (aws ssm send-command) targeting a few Windows instances. I tested it and it works. I'd like to set up a cron so that SSM can run this command once every 3 weeks.

Sri
asked 5 months ago208 views
1 Answer
0
Accepted Answer

Hello.

I think it is possible to run Systems Manager SendCommand every 3 weeks by setting the EventBridge scheduler's rate base rule to run every 21 days.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rate-expressions.html

It is also possible to configure using State Manager without using the EventBridge scheduler.
https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-state.html

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions