VMware Cloud Community
cimatech
Contributor
Contributor

How to Scheduled task in ESXi 6.5?

I'm trying to follow the following documentation (VMware vSphere 6.5 Documentation Library ), to scheduled task of Taake Snapshot, but in my console the next option does not appear:

2

Select Monitor, and select  Tasks & Events.     

Anyone know if I have to enable this option?

sshot-2.png

0 Kudos
9 Replies
npadmani
Virtuoso
Virtuoso

Task Scheduler is vCenter server feature.

On an individual ESXi host it won't be available.

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
0 Kudos
cimatech
Contributor
Contributor

Thanks npadmani,

How I can make automatic snapshots?

0 Kudos
npadmani
Virtuoso
Virtuoso

see if you get some help from below blog post. instead of host reboot script, you got to work on take vm snapshot script and you can get what you want.

HOWTO: Scheduled a standalone VMware ESXi Host Reboot via Powershell – Bits & Other Bytes

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
0 Kudos
cimatech
Contributor
Contributor

Thanks Narendra,

Powershell only you can do? There is no way of doing otherwise?

Regards.-

0 Kudos
npadmani
Virtuoso
Virtuoso

haven't tried this myself, but you can give it a try to create cron job in your ESXi host

Add cron Job to VMware ESX/ESXi | VMware | Jules.FM

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
0 Kudos
RNAR
Enthusiast
Enthusiast

It's a little late, but for anyone else, in the vSphere web client for vSphere 6.5, the "Scheduled Tasks" item only exists in the Flash client (https://vCenterHost:9443/vsphere-client/), not the HTML5 client (https://vCenterHost/ui/).

So then, it is at whatever object > Monitor tab > Tasks & Events button > Scheduled Tasks list item.

zwy123
Contributor
Contributor

Vcenter Select a host to schedule tasks
0 Kudos
zwy123
Contributor
Contributor

Sorry about that typo Vcenter Select a VM to schedule tasks
0 Kudos
MaxB
Enthusiast
Enthusiast

If you are not using vCenter, then you may own somehting like an alwaysOn administration server (windows/linux). There you could schedule a powerCLI script with windows task scheduler or cron.

 

wouldn´t recommend to store any scripts or crons on esxi. Not sure if it would be even possible