#!/bin/sh -Cefu set -Cefu width=518 height=140 rrd=db/temp_out.rrd today=3F4ADD yesterday=759EBF #yyesterday=A0C7E5 #yyesterday=CEDCF9 #yyesterday=C7BAC7 #yyesterday=A5DFFF #yyesterday=A4A4A4 #yyesterday=E1E1E1 yyesterday=CBCBCB #yyesterday=C3C3C3 graph_dir=www units_length=4 shift_1day=86400 shift_2day=172800 #shift_2day=$(($shift_1day * 2)) # #if [ `date +%Z` = EET ] #then # #shift_1day=$(($shift_1day + 3600)) # #shift_2day=$(($shift_2day + 3600)) #fi graph="$graph_dir/temp-out-1day.png" . graph-out/graph-1day.sh graph="$graph_dir/temp-out-2days.png" . graph-out/graph-2days.sh graph="$graph_dir/temp-out-3days.png" . graph-out/graph-3days.sh