jsproxy/log-svc/svc.sh
2019-05-14 17:43:34 +08:00

12 lines
183 B
Bash
Executable File

#!/usr/bin/env bash
# 功能:定时调用 backup.sh
echo "log svc running"
CUR_DIR=$(cd `dirname $0` && pwd)
# 也可用 crontab
while true
do
$CUR_DIR/backup.sh
sleep 60
done