Last active
May 7, 2020 02:18
-
-
Save sandeepkv93/e317e38dc7da0602295ba4aaf3b9fcaa to your computer and use it in GitHub Desktop.
Azure Invm Scheduled Events notification for Linux VMs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true | |
do | |
echo " Press [CTRL+C] to stop.." | |
curl -H Metadata:true "http://169.254.169.254/metadata/scheduledevents?api-version=2019-01-01" | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment