diff --git a/cron_set.sh b/cron_set.sh new file mode 100644 index 0000000..fa4786b --- /dev/null +++ b/cron_set.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -e +sudo crontab <<-EOF +`sudo crontab -l` +0 * * * * bash /home/admin/cron/del_log.sh +EOF