how can i start KVM automatically

I want KVM to start automatically at 4:00 AM daily,how can I do it?

run a cron job with the output of the following:

Code:
qm showcmd VMID
 
Last edited:
Run a simple cron job using this command:

Code:
qm start <vmid>

use 'crontab -e' to configure cron.