7 lines
104 B
Bash
7 lines
104 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
sudo crontab <<-EOF
|
||
|
`sudo crontab -l`
|
||
|
0 * * * * bash /home/admin/cron/del_log.sh
|
||
|
EOF
|