Dear Everyone,
Could everyone can help check and edit my script run daily sarg report,
but when I run script by command
pls help to correct and how about weekly and monthly report.
thank you
Could everyone can help check and edit my script run daily sarg report,
Bash:
#!/usr/local/bin/bash
today = $(date -v -1d "+%d/%m/%Y")
export LC_ALL = C
/usr/local/bin/sarg -o /usr/local/www/apache24/data/daily -d $today>/dev/null 2> 1
exit 0
but when I run script by command
pls help to correct and how about weekly and monthly report.
thank you