vm activity test

  1. F

    Script to shutdown node when no VM active for 1 hour

    Hello, Does someone could give me a script example to shutdown a node if there hase been no vm active for one houre ? I guess what I need is a shell wraper to test evry 15' if vm are unactive, ain if it si true for 4 time, then cron commande to shutdown the node. But I have no idéa how to do...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!