#!/bin/bash fname="/path/to/folder/graph1-$(date +%Y-%m-%d).gif" if [ ! -f "$fname" ] then wget http://host1:port1/graphs/iface/ether1/daily.gif -O $fname fi fname="/path/to/folder/graph2-$(date +%Y-%m-%d).gif" if [ ! -f "$fname" ] then wget http://host2:port2/graphs/iface/ether1/daily.gif -O $fname fi exit 0
[corat-coret] mikrotik graph backup
Langganan:
Posting Komentar
(
Atom
)
Tidak ada komentar :
Posting Komentar