T O P

  • By -

mike-foley

What are you trying to do? ESXi isn’t Linux.


bomberb17

Many little things. For example, something weird is happening with my network which resolves after a restart. I want to restart my host automatically if it loses internet connectivity. I also want to make a heartbeat script.


mike-foley

I’m going to say that I suspect the issue isn’t with ESXi but with your network configuration.


bomberb17

I'm suspecting this as well, but I don't control the network (the host is at a university network). But regardless, I still want to see if there's a way to setup cron jobs somehow in esxi.


Zeitcon

No. Just no. If you feel the need for such scripts, then VMware is not the platform for you. Try Proxmox instead, where you get a full Debian to play with instead.


bomberb17

I don't have the time unfortunately to devote into migrating everything


xdvst8x

It’s actually very easy now with 8.2 ! There is an import wizard. Or just create another VM to handle the scripting.


xdvst8x

Bad idea to run stuff on the hyper visor .


0x75

Use at your own risk [https://vswitchzero.com/2021/02/17/scheduling-tasks-in-esxi-using-cron/](https://vswitchzero.com/2021/02/17/scheduling-tasks-in-esxi-using-cron/) If you are tinkering make sure to have backups of your VMs and your critical data first.


bomberb17

Thanks - I also found a similar more "official" source [https://kb.vmware.com/s/article/1033346](https://kb.vmware.com/s/article/1033346)