Skip to content

Instantly share code, notes, and snippets.

View NoNeet1's full-sized avatar

Темников Пётр NoNeet1

View GitHub Profile
#!/bin/bash
set -e
SERVER=${1:-"SERVER"}
DATE=$(date +%d_%m_%Y)
URL="https://raw.githubusercontent.com/GreatMedivack/files/master/list.out"
DOWNLOADED_FILE="medods.out"
RUNNING_FILE="${SERVER}_${DATE}_running.out"
FAILED_FILE="${SERVER}_${DATE}_failed.out"
REPORT_FILE="${SERVER}_${DATE}_report.out"