si no hay archivos que enviar esperar al próximo intervalo
This commit is contained in:
parent
9fef227f5e
commit
d2f30d8fe7
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ while :;do
|
||||||
[ -f $install_dir/lock ] && continue
|
[ -f $install_dir/lock ] && continue
|
||||||
|
|
||||||
file=$(get_stack)
|
file=$(get_stack)
|
||||||
[ -z $file ] && continue
|
[ -z $file ] && sleep ${interval:-1}m && continue
|
||||||
|
|
||||||
ping -c 1 fsf.org > /dev/null 2>&1 || continue
|
ping -c 1 fsf.org > /dev/null 2>&1 || continue
|
||||||
test_url="$(curl -s -X POST -o /dev/null -w "%{http_code}" $url)"
|
test_url="$(curl -s -X POST -o /dev/null -w "%{http_code}" $url)"
|
||||||
|
|
Loading…
Reference in a new issue