<?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 cron in decimal in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155417#M43738</link>
    <description>&lt;P&gt;I use Splunk 5.0.1&lt;/P&gt;

&lt;P&gt;I want a scheduled search to run by 2.5 hours. Does the search accept decimal values?&lt;/P&gt;

&lt;P&gt;like from:&lt;/P&gt;

&lt;P&gt;-2.5h@h to now&lt;/P&gt;

&lt;P&gt;&amp;amp;&lt;/P&gt;

&lt;P&gt;cron: 0 */2.5 * * *&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2013 16:21:05 GMT</pubDate>
    <dc:creator>aniketb</dc:creator>
    <dc:date>2013-11-25T16:21:05Z</dc:date>
    <item>
      <title>cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155417#M43738</link>
      <description>&lt;P&gt;I use Splunk 5.0.1&lt;/P&gt;

&lt;P&gt;I want a scheduled search to run by 2.5 hours. Does the search accept decimal values?&lt;/P&gt;

&lt;P&gt;like from:&lt;/P&gt;

&lt;P&gt;-2.5h@h to now&lt;/P&gt;

&lt;P&gt;&amp;amp;&lt;/P&gt;

&lt;P&gt;cron: 0 */2.5 * * *&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 16:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155417#M43738</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2013-11-25T16:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155418#M43739</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I think you can use this schedule &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;150m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To run the query every 150 minutes&lt;/P&gt;

&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 16:24:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155418#M43739</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2013-11-25T16:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155419#M43740</link>
      <description>&lt;P&gt;-150m may be good to search for records in last 2.5 hours but it does not satisfy cron criteria. I need the search to run every 2.5 hours and when i try this it throws an error.&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to update: In handler 'savedsearch': Invalid cron_schedule="*/150 * * * *"&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 17:02:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155419#M43740</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2013-11-25T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155420#M43741</link>
      <description>&lt;P&gt;No it doesn't take decimal value in cron schedule.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 17:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155420#M43741</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-11-25T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155421#M43742</link>
      <description>&lt;P&gt;According to stackoverflow you cannot do it in a single statement.  The recommendation is to use two statements:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;0 */5 * * * 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;30 2,7,12,17,22 * * *
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See the post:&lt;BR /&gt;&lt;BR /&gt;
&lt;A href="http://stackoverflow.com/questions/13226003/how-to-execute-a-cron-expression-for-every-2-5-hours"&gt;http://stackoverflow.com/questions/13226003/how-to-execute-a-cron-expression-for-every-2-5-hours&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 17:52:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155421#M43742</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-25T17:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155422#M43743</link>
      <description>&lt;P&gt;Hey luke, I do want to try your method but we are allowed just one statement in cron in splunk &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 19:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155422#M43743</guid>
      <dc:creator>aniketb</dc:creator>
      <dc:date>2013-11-25T19:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: cron in decimal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155423#M43744</link>
      <description>&lt;P&gt;Well, I expected you would create two scheduled searches - one with one cron schedule, and one with the other.  Splunk won't really care.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 19:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/cron-in-decimal/m-p/155423#M43744</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-25T19:08:50Z</dc:date>
    </item>
  </channel>
</rss>

