aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg
diff options
context:
space:
mode:
Diffstat (limited to 'config/sarg')
-rw-r--r--config/sarg/sarg_schedule.xml7
1 files 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 @@
<fielddescr>Sarg args</fielddescr>
<fieldname>args</fieldname>
<description><![CDATA[Enter sarg extra args to run on this schedule.<br>
- To force sarg to create a report only from current day, use:<br>
- <strong>-d `date +%d/%m/%Y`-`date +%d/%m/%Y`</strong>]]></description>
+ To force sarg to create a report only for specific days, use:<br>
+ <b>TODAY:</b>&nbsp;&nbsp;-d `date +%d/%m/%Y`<br>
+ <b>YESTERDAY:</b>&nbsp;&nbsp;-d `date -v-1d +%d/%m/%Y`<br>
+ <b>WEEKAGO:</b>&nbsp;&nbsp;-d `date -v-1w +%d/%m/%Y`- `date -v-1d +%d/%m/%Y`<br>
+ <b>MONTHAGO:</b>&nbsp;&nbsp;-d `date -v-1m +01/%m/%Y`-`date -v-1m +31/%m/%Y`]]></description>
<type>input</type>
<size>50</size>
</field>