XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Automatic startup and shutdows VMs at the specified time

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    10 Posts 3 Posters 2.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      abudef
      last edited by

      Hello, I would like to ask if it is possible to set up automatic startup and shutdown of VMs at the specified time?

      1 Reply Last reply
      Reply Quote 0
      • julien-fJ
        julien-f Vates 🪐 Co-Founder XO Team @abudef
        last edited by

        @abudef Indeed, the delay is in milliseconds.

        1 Reply Last reply
        Reply Quote 1
        • olivierlambertO
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Hi,

          That should be doable with the "job" section of XO.

          A 1 Reply Last reply
          Reply Quote 0
          • A
            abudef @olivierlambert
            last edited by

            @olivierlambert said in Automatic startup and shutdows VMs at the specified time:

            Hi,

            That should be doable with the "job" section of XO.

            Yeah, that's exactly it, thank you very much, I missed it somehow. I'll check the documentation for details.

            1 Reply Last reply
            Reply Quote 1
            • olivierlambertO olivierlambert marked this topic as a question on
            • olivierlambertO olivierlambert has marked this topic as solved on
            • A
              abudef
              last edited by

              What units are used here? I can't find that information in the documentation 🤷

              2b0de075-4185-4a9e-9509-184c397e0602-obrazek.png

              1 Reply Last reply
              Reply Quote 0
              • olivierlambertO
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Very likely seconds

                A 1 Reply Last reply
                Reply Quote 0
                • A
                  abudef @olivierlambert
                  last edited by

                  @olivierlambert said in Automatic startup and shutdows VMs at the specified time:

                  Very likely seconds

                  Could someone please try this? I set it to 120, aka 2 minutes, and the VM practically immediately went into force shutdown.

                  1 Reply Last reply
                  Reply Quote 0
                  • olivierlambertO
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Try 10000, if it's ms it will take 10s then

                    A 1 Reply Last reply
                    Reply Quote 0
                    • A
                      abudef @olivierlambert
                      last edited by

                      @olivierlambert Yeah, I used that of course, it looks like milliseconds, I just wanted to be sure because I couldn't track it down anywhere.

                      julien-fJ 1 Reply Last reply
                      Reply Quote 0
                      • olivierlambertO
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Ping @julien-f to be sure

                        1 Reply Last reply
                        Reply Quote 0
                        • julien-fJ
                          julien-f Vates 🪐 Co-Founder XO Team @abudef
                          last edited by

                          @abudef Indeed, the delay is in milliseconds.

                          1 Reply Last reply
                          Reply Quote 1
                          • olivierlambertO olivierlambert has marked this topic as solved on

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post