mirror of
https://github.com/EtherDream/jsproxy
synced 2024-11-22 09:58:46 +00:00
12 lines
183 B
Bash
Executable File
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 |