Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Schedule tasks in the vSphere Client on VMware vSphere 6.7
  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 03 July 2024 at 13:29 UTC
  • InformatiWeb
  • 1/3

Schedule tasks in the vSphere Client on VMware vSphere 6.7

Using VMware vCenter Server (vCSA), you can schedule some tasks, such as: powering on a virtual machine, creating a virtual machine, or adding a VMware ESXi host to your inventory.

  1. Virtual machines
    1. Create a scheduled task on a virtual machine
    2. Task and event history
  2. VMware ESXi host
    1. Schedule the creation of a virtual machine on a VMware ESXi host
    2. Virtual machine created via scheduled task
  3. Datacenter
    1. Create a scheduled task on a datacenter
    2. Move an ESXi host
    3. Resources added

1. Virtual machines

1.1. Create a scheduled task on a virtual machine

To create a scheduled task for a specific virtual machine, go to the "Configure" tab of it.

In this "Configure" tab, go to "More -> Scheduled Tasks" and click on the "New Scheduled Task" link.

For a virtual machine, you can:

  • Power On: schedule power on
  • Shut Down Guest OS: schedule its own shutdown (if VMware Tools is installed)
  • Restart Guest OS: schedule a clean reboot (if VMware Tools is installed)
  • Power Off: schedule a forced shutdown
  • Suspend: schedule it to pause
  • Reset: schedule the forced restart of it
  • Take Snapshot: schedule the creation of a snapshot on it. This allows you to create backups (snapshots) of it at regular intervals.
  • Migrate: plan to move it to another VMware ESXi host
  • Clone to Virtual Machine: plan its duplication

For this tutorial, we will create a scheduled task to power on this virtual machine.

In the "Schedule New Tasks ([name of chosen task])" box that appears, you can specify:

  • Task name: a name for this scheduled task. Default: [VM name] - [chosen task name].
  • Description: enter a description for this one.
  • Target: indicates the name of the virtual machine affected by this scheduled task.
  • Run: allows you to choose how often this scheduled task will run. Also allows you to run this scheduled task only once if you wish.
  • Email notification upon completion: allows you to receive a notification to the email address(es) specified here when the scheduled task has finished running.

In our case, we will choose to run this scheduled task only once.

In this case, we therefore have the possibility to choose the date / time on which this scheduled task should be executed.
Then click on "Schedule the task".

The created scheduled task appears in the list of scheduled tasks for this virtual machine.

1.2. Task and event history

As you can see, our virtual machine started automatically.

In the "Configure -> More -> Scheduled Tasks" tab, you will be able to see the history of the last 5 executions of your task by selecting it.
As you can see, this was executed once at the desired time.

If you go to the "Monitor -> Tasks and Events -> Tasks" tab of your virtual machine, you will see the previously created scheduled task appear in the list.
In this case, the "Create Scheduled Task" task.

You will also see the associated task that you had scheduled.
In our case: Power On virtual machine.

Note that by selecting this task, you will be able to see the list of events linked to it.

If you look in the "Tasks and Events -> Events" section, you will find the same events related to the scheduled task that was executed previously.

Next page

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Convert a Hyper-V virtual machine to a VMware VM

    VMware 11/4/2022

    VMware ESXi 6.7 - Convert a Hyper-V virtual machine to a VMware VM

  • VMware ESXi 7.0 / 6.7 - Create a NFS datastore

    VMware 7/29/2022

    VMware ESXi 7.0 / 6.7 - Create a NFS datastore

  • VMware vSphere 6.7 - Cluster admission control

    VMware 3/5/2025

    VMware vSphere 6.7 - Cluster admission control

  • VMware vSphere 6.7 - Extend a virtual hard disk (Linux LVM guest OS)

    VMware 5/10/2024

    VMware vSphere 6.7 - Extend a virtual hard disk (Linux LVM guest OS)

Comments

You must be logged in to post a comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.