Start lxc time?

alberisca75

Member
May 25, 2021
4
0
21
50
Hi, is it possible to start and shut down an lxc or vm at a time set by the user? example start at 18 and turn off at 20!
 
hi,

you can have a cron job script calling the API, qm or pct tools can be used to start/stop VMs and containers respectively:
Code:
qm start VMID
qm stop VMID
and same for pct with container ID.