crontab no response during operation

moguren

New Member
Mar 6, 2020
3
0
1
42
hi,everyone
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
pam_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
But the VM is not performing the operation
 
Last edited: