Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

Add 2 minute warning #76

Closed
williamparry opened this issue Mar 12, 2018 · 2 comments
Closed

Add 2 minute warning #76

williamparry opened this issue Mar 12, 2018 · 2 comments

Comments

@williamparry
Copy link
Owner

williamparry commented Mar 12, 2018

  • Write a Powershell file that installs a scheduled task that starts up every time the user logs in and runs another Powershell file that polls the user data for a termination date
  • If there is a termination date, run the notification similar to:
-Execute "Powershell" -Argument '-WindowStyle Hidden -File c:\cloudRIG\Notify-Shutdown.ps1 -reason AWS'

You can expect c:\cloudRIG\Notify-Shutdown.ps1 to exist because this runs on system startup: https://github.com/williamparry/cloudRIG/blob/master/lib/ps1/Create-Shutdown-Notification.ps1

Have a look at how shutdown notifications work.

@williamparry
Copy link
Owner Author

Possibly write in C# application using AWS SDK.

#46

@williamparry
Copy link
Owner Author

Would be good to install a Powershell script that runs as a scheduled task to listen for this cloudwatch event. There's a notification Powershell script that is ready to run to let the user know.

@williamparry williamparry changed the title Add 2 minute warning Add 2 minute warning [$15] May 25, 2018
@williamparry williamparry changed the title Add 2 minute warning [$15] Add 2 minute warning Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant