VMware Cloud Community
rakem
Contributor
Contributor

Bulk Scheduled task?

Is there a way in ESX 3.5 to add multiple VMs to a scheduled task?

I want to be able to restart about 20 Windows XM VMs so that the windows updates get applied. The only way i have seen to do this through VMWare is to create a scheduled tasks for each VM i want to reset.

Is there a better way to do this?

thanks

0 Kudos
2 Replies
Yattong
Expert
Expert

Hey,

Ive found that using the 'crontab' command in the service console very useful for scheduling tasks in esx.

All you need to do is create a script and schedule it with crontab.

You could use other scripts however such as powershell, and use your own windows scheduler if its more familiar...



If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

~y

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points ~y
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Unfortunately if you are using ESXi the crontab approach does not work, but you could use a Linux VM and one of the VI SDKs to achieve the same thing. There is nothing specific to VIC to allow this.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos