I have a Windows EC2 instance
in place. I cannot delete it every day since we have multiple tools installed like accessing Postgress RDS
via Dbeaver
. Now, we have an activity of deleting a few S3 folders
. So using the Mobaxterm
tool, I can delete it via AWS CLI
commands.
However, I am unable to schedule this script which runs once daily in the morning. I explored a few posts which are not relevant to my problem. There, the user is trying to launch > run script > delete instance
which I don't want to do.
What can be done in my case?