This commit is contained in:
xyj 2024-02-27 09:59:28 +08:00
parent 2f70b4e0be
commit 9ade7ab870
1 changed files with 6 additions and 0 deletions

6
cron_set.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
sudo crontab <<-EOF
`sudo crontab -l`
0 * * * * bash /home/admin/cron/del_log.sh
EOF