aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-11-07 01:19:48 -0200
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-11-07 01:19:48 -0200
commit6993c26b73b883ca3bb65c1655333517ebd9f636 (patch)
treec9c9540d45b21474db795ca8f1112aa8468e2f81 /config
parentfff95f03b7749dc76468c008d4ecc079d9700b06 (diff)
downloadpfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.tar.gz
pfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.tar.bz2
pfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.zip
sarg - add more date report samples to sarg_schedule.xml
Diffstat (limited to 'config')
-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>