P peace1spirit New Member Aug 19, 2021 2 0 1 39 Sep 10, 2021 #1 Hi, I create /sbin/enableSTORAGE.sh #!/bin/bash pvesm set STORAGE --disable 0 crontab -e 00 11 * * * /sbin/enableSTORAGE.sh after the cron run, the storage still disable. How to enable the STORAGE from cron Anyone can help ? Thx Attachments Capture.PNG 15.5 KB · Views: 9
Hi, I create /sbin/enableSTORAGE.sh #!/bin/bash pvesm set STORAGE --disable 0 crontab -e 00 11 * * * /sbin/enableSTORAGE.sh after the cron run, the storage still disable. How to enable the STORAGE from cron Anyone can help ? Thx
fiona Proxmox Staff Member Staff member Aug 1, 2019 5,626 1,470 248 Sep 10, 2021 #2 Hi, please make sure that the script is executable chmod +x /sbin/enableSTORAGE.sh, and you might need to use /sbin/pvesm instead of pvesm. Reactions: peace1spirit and Moayad
Hi, please make sure that the script is executable chmod +x /sbin/enableSTORAGE.sh, and you might need to use /sbin/pvesm instead of pvesm.
P peace1spirit New Member Aug 19, 2021 2 0 1 39 Sep 10, 2021 #3 Fabian_E said: Hi, please make sure that the script is executable chmod +x /sbin/enableSTORAGE.sh, and you might need to use /sbin/pvesm instead of pvesm. Click to expand... Thx
Fabian_E said: Hi, please make sure that the script is executable chmod +x /sbin/enableSTORAGE.sh, and you might need to use /sbin/pvesm instead of pvesm. Click to expand... Thx