hi,everyone
I want to switch VM with crontab
View service cron status
I want to switch VM with crontab
vi /etc/crontab
50 20 * * * root qm shutdown 100
50 10 * * * root qm start 100
View service cron status
But the VM is not performing the operationpam_unix(cron:session): session opened for user root by (uid=0)
(root) CMD ( qm start 100)
pam_unix(cron:session): session closed for user root
pam_unix(cron:session): session opened for user root by (uid=0)
(root) CMD (qm shudown 100)
pam_unix(cron:session): session closed for user root
Last edited: