diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-07 01:19:48 -0200 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2013-11-07 01:19:48 -0200 |
commit | 6993c26b73b883ca3bb65c1655333517ebd9f636 (patch) | |
tree | c9c9540d45b21474db795ca8f1112aa8468e2f81 | |
parent | fff95f03b7749dc76468c008d4ecc079d9700b06 (diff) | |
download | pfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.tar.gz pfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.tar.bz2 pfsense-packages-6993c26b73b883ca3bb65c1655333517ebd9f636.zip |
sarg - add more date report samples to sarg_schedule.xml
-rw-r--r-- | config/sarg/sarg_schedule.xml | 7 |
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> -d `date +%d/%m/%Y`<br> + <b>YESTERDAY:</b> -d `date -v-1d +%d/%m/%Y`<br> + <b>WEEKAGO:</b> -d `date -v-1w +%d/%m/%Y`- `date -v-1d +%d/%m/%Y`<br> + <b>MONTHAGO:</b> -d `date -v-1m +01/%m/%Y`-`date -v-1m +31/%m/%Y`]]></description> <type>input</type> <size>50</size> </field> |