MariusRoma
Expert
Expert

Creating scheduled tasks

Is it possible to create a script to create a scheduled task?

I need to create a script to create a scheduled task to migrate a VM to a given datastore at a given time.

I don't want to migtrate the VM, I want to create a scheduled task to migrate it.

If it's possible, isd there any sample I can start from?

Regards

marius