From 6993c26b73b883ca3bb65c1655333517ebd9f636 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Thu, 7 Nov 2013 01:19:48 -0200 Subject: sarg - add more date report samples to sarg_schedule.xml --- config/sarg/sarg_schedule.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/sarg/sarg_schedule.xml b/config/sarg/sarg_schedule.xml index 0c452335..9e1ad709 100644 --- a/config/sarg/sarg_schedule.xml +++ b/config/sarg/sarg_schedule.xml @@ -141,8 +141,11 @@ Sarg args args - To force sarg to create a report only from current day, use:
- -d `date +%d/%m/%Y`-`date +%d/%m/%Y`]]>
+ To force sarg to create a report only for specific days, use:
+ TODAY:  -d `date +%d/%m/%Y`
+ YESTERDAY:  -d `date -v-1d +%d/%m/%Y`
+ WEEKAGO:  -d `date -v-1w +%d/%m/%Y`- `date -v-1d +%d/%m/%Y`
+ MONTHAGO:  -d `date -v-1m +01/%m/%Y`-`date -v-1m +31/%m/%Y`]]> input 50 -- cgit v1.2.3