Rozdiely pre scripts/php/sk-nic/download.sh medzi verziami 1.12 a 1.13
| verzia 1.12, 2017/09/16 09:36:22 |
verzia 1.13, 2017/09/18 10:15:38 |
|
|
| # 2017-09-12 - implemented new SK-NIC-EPP/CentralNic export |
# 2017-09-12 - implemented new SK-NIC-EPP/CentralNic export |
| # |
# |
| |
|
| # $Platon: scripts/php/sk-nic/download.sh,v 1.11 2015/08/27 06:16:20 nepto Exp $ |
# $Platon: scripts/php/sk-nic/download.sh,v 1.12 2017/09/16 09:36:22 nepto Exp $ |
| |
|
| # |
# |
| # Put this into your crontab, it will run this script every morning at 6:15 am: |
# Put this into your crontab, it will run this script every morning at 6:15 am: |
| Riadok 60 if [ -z "$PROCESS_FILE" ]; then |
|
| Riadok 60 if [ -z "$PROCESS_FILE" ]; then |
|
| |
|
| if [ "$rc" -eq 8 ]; then |
if [ "$rc" -eq 8 ]; then |
| echo "$PREFIX_ERR: error 404 Not Found - repeat download"; |
echo "$PREFIX_ERR: error 404 Not Found - repeat download"; |
| exit $?; |
exit "$rc"; |
| elif [ "$rc" -ne 0 ]; then |
elif [ "$rc" -ne 0 ]; then |
| echo "$PREFIX_ERR: fetch error (wget_exit:$rc; wget_bin:$WGET)"; |
echo "$PREFIX_ERR: fetch error (wget_exit:$rc; wget_bin:$WGET)"; |
| exit $?; |
exit "$rc"; |
| fi; |
fi; |
| |
|
| if [ \! -s "$OUTPUT_FILE" ]; then |
if [ \! -s "$OUTPUT_FILE" ]; then |
Platon Group <platon@platon.sk> http://platon.sk/
|
|