<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I use cron to schedule for quarterly reports at certain intervals? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429864#M7475</link>
    <description>&lt;P&gt;Is it OK to run the report at midnight of the first day of the next quarter? That would translate to &lt;CODE&gt;0 0 1 */3 *&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Then you just need to define the timerange for your report correctly, I guess &lt;CODE&gt;earliest=-3mon@mon latest=@mon&lt;/CODE&gt; should do the trick?&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 15:26:26 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-05-29T15:26:26Z</dc:date>
    <item>
      <title>How can I use cron to schedule for quarterly reports at certain intervals?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429863#M7474</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I want to schedule the report at following intervals&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;9/1 - 11/30
12/1 - 2/28(29) (this is an odd one because of leap years)
3/1 - 5/31
6/1 - 8/31
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I do this using the cron schedule? Thanks in advance!&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Deepthi&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429863#M7474</guid>
      <dc:creator>dmenon84</dc:creator>
      <dc:date>2018-05-29T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use cron to schedule for quarterly reports at certain intervals?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429864#M7475</link>
      <description>&lt;P&gt;Is it OK to run the report at midnight of the first day of the next quarter? That would translate to &lt;CODE&gt;0 0 1 */3 *&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Then you just need to define the timerange for your report correctly, I guess &lt;CODE&gt;earliest=-3mon@mon latest=@mon&lt;/CODE&gt; should do the trick?&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429864#M7475</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-05-29T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use cron to schedule for quarterly reports at certain intervals?</title>
      <link>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429865#M7476</link>
      <description>&lt;P&gt;Assuming you want your quarterly report to run as following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Quarter range     ###   Date on which Report should be run
9/1 - 11/30       ###  12/01 
12/1 - 2/28(29)   ###  03/01
(this is an odd one because of leap years)
3/1 - 5/31        ###   06/01
6/1 - 8/31        ###   09/01
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try the cron schedule as this (running every quarter, as above schedule, at 3 AM in the morning&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0 3 1 3,6,9,12 *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Your search's time range would be &lt;CODE&gt;-3mon@mon to @mon&lt;/CODE&gt;. &lt;BR /&gt;
See the corresponding scheduled data here: &lt;A href="https://crontab.guru/#0_3_1_3,6,9,12_*"&gt;https://crontab.guru/#0_3_1_3,6,9,12_*&lt;/A&gt;  (click on next hyperlink to see more dates)&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 18:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-can-I-use-cron-to-schedule-for-quarterly-reports-at-certain/m-p/429865#M7476</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-05-29T18:33:21Z</dc:date>
    </item>
  </channel>
</rss>

