<?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: When will the scripted input run? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427589#M74924</link>
    <description>&lt;P&gt;Much appreciated @MuS.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2018 00:40:30 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-07-06T00:40:30Z</dc:date>
    <item>
      <title>When will the scripted input run?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427587#M74922</link>
      <description>&lt;P&gt;We have the following - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://.\bin\&amp;lt;name&amp;gt;.bat]
disabled = 0
interval = 86400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since the interval is 24 hours, when will it run? How can we set the time for it to run?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 19:49:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427587#M74922</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-07-05T19:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: When will the scripted input run?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427588#M74923</link>
      <description>&lt;P&gt;Hi dddillic,&lt;/P&gt;

&lt;P&gt;the interval will start when Splunk was last started. If you want more control over the schedule of your scripted input, use the crontab notation in &lt;CODE&gt;interval&lt;/CODE&gt;. From the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt; :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;interval = [&amp;lt;number&amp;gt;|&amp;lt;cron schedule&amp;gt;]
* How often to run the specified command (in seconds), or a valid cron schedule.
* NOTE: when you specify a cron schedule, the input does not run the script on start-up.
* If you specify the interval as a number, it may have a fractional component; e.g., 3.14
* The cron implementation for data inputs does not currently support names of months or days.
* Defaults to 60.0 seconds.
* The special value 0 forces this scripted input to be run continuously;
  that is, as soon as the script exits, the input restarts it.
* The special value -1 causes the scripted input to run once on start-up.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 20:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427588#M74923</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-07-05T20:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: When will the scripted input run?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427589#M74924</link>
      <description>&lt;P&gt;Much appreciated @MuS.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2018 00:40:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/When-will-the-scripted-input-run/m-p/427589#M74924</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-07-06T00:40:30Z</dc:date>
    </item>
  </channel>
</rss>

