<?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: Splunk script execution inputs.conf Interval ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346682#M63656</link>
    <description>&lt;P&gt;Hi Harishma,&lt;/P&gt;

&lt;P&gt;interval = [|]&lt;BR /&gt;
* How often to run the specified command (in seconds), or a valid cron&lt;BR /&gt;
  schedule.&lt;BR /&gt;
* NOTE: when you specify a cron schedule, the input does not run the&lt;BR /&gt;
  script on start-up.&lt;BR /&gt;
* If you specify the interval as a number, it may have a fractional&lt;BR /&gt;
  component; e.g., 3.14&lt;BR /&gt;
* The cron implementation for data inputs does not currently support names&lt;BR /&gt;
  of months or days.&lt;BR /&gt;
* Defaults to 60.0 seconds.&lt;BR /&gt;
* The special value 0 forces this scripted input to be run continuously;&lt;BR /&gt;
  that is, as soon as the script exits, the input restarts it.&lt;BR /&gt;
* The special value -1 causes the scripted input to run once on start-up.&lt;/P&gt;

&lt;P&gt;Hope this will help.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 12:06:51 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2017-11-08T12:06:51Z</dc:date>
    <item>
      <title>Splunk script execution inputs.conf Interval ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346681#M63655</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;When the interval is provided as 1d i.e 86400s in the interval field in inputs.conf , when does the script get executed?&lt;/P&gt;

&lt;P&gt;I understand every one hour it gets executed..But I wanted to understand at what time or when?&lt;/P&gt;

&lt;P&gt;Is there a way to know this?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346681#M63655</guid>
      <dc:creator>Harishma</dc:creator>
      <dc:date>2017-11-08T09:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk script execution inputs.conf Interval ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346682#M63656</link>
      <description>&lt;P&gt;Hi Harishma,&lt;/P&gt;

&lt;P&gt;interval = [|]&lt;BR /&gt;
* How often to run the specified command (in seconds), or a valid cron&lt;BR /&gt;
  schedule.&lt;BR /&gt;
* NOTE: when you specify a cron schedule, the input does not run the&lt;BR /&gt;
  script on start-up.&lt;BR /&gt;
* If you specify the interval as a number, it may have a fractional&lt;BR /&gt;
  component; e.g., 3.14&lt;BR /&gt;
* The cron implementation for data inputs does not currently support names&lt;BR /&gt;
  of months or days.&lt;BR /&gt;
* Defaults to 60.0 seconds.&lt;BR /&gt;
* The special value 0 forces this scripted input to be run continuously;&lt;BR /&gt;
  that is, as soon as the script exits, the input restarts it.&lt;BR /&gt;
* The special value -1 causes the scripted input to run once on start-up.&lt;/P&gt;

&lt;P&gt;Hope this will help.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346682#M63656</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2017-11-08T12:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk script execution inputs.conf Interval ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346683#M63657</link>
      <description>&lt;P&gt;Hi @Harishma,&lt;/P&gt;

&lt;P&gt;Your script will execute once in a day based on your interval given as 86400 seconds. &lt;/P&gt;

&lt;P&gt;Answer for second question is, this script will start execute first time when you start/restart splunk forwarder and then it will execute next time after 86400 seconds. For example : You have started/restarted forwarder at 11:01 AM and first time script ran at 11:01 AM today then next time it will execute tomorrow at 11:01 AM.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-script-execution-inputs-conf-Interval/m-p/346683#M63657</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-11-08T12:27:26Z</dc:date>
    </item>
  </channel>
</rss>

