add crontab -e
У пользователя `root` по умолчанию нету файла crontab (`no crontab for root`), его надо создать перед тем как что то в него добавлять.
This commit is contained in:
1
gfx.yaml
1
gfx.yaml
@@ -22,4 +22,5 @@ runcmd:
|
||||
- timedatectl set-timezone Europe/Moscow
|
||||
- git -C /root clone https://git.tvstart.ru/ychernenko/RFB.git
|
||||
- bash /root/RFB/deploy.sh
|
||||
- crontab -e
|
||||
- (crontab -l; echo "$(ip a | grep 10.10.35 | cut -d ' ' -f 6 | sed "s|/|.|g" | cut -d '.' -f 4) 3 * * * /sbin/shutdown -r now") | crontab -
|
||||
Reference in New Issue
Block a user