<?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 scripted input not following the cron schedule in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412890#M73054</link>
    <description>&lt;P&gt;I have a scripted input that runs on the schedule &lt;CODE&gt;0 9 * * *&lt;/CODE&gt; (once a day at 9 am). This is a powershell scripted input and observing that this gets triggered multiple times if the server gets rebooted and hence the forwarder restarts. Any idea why would this happen? Universal Forwarder version  - 6.6.6&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2019 16:39:55 GMT</pubDate>
    <dc:creator>meenu_2017</dc:creator>
    <dc:date>2019-03-01T16:39:55Z</dc:date>
    <item>
      <title>scripted input not following the cron schedule</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412890#M73054</link>
      <description>&lt;P&gt;I have a scripted input that runs on the schedule &lt;CODE&gt;0 9 * * *&lt;/CODE&gt; (once a day at 9 am). This is a powershell scripted input and observing that this gets triggered multiple times if the server gets rebooted and hence the forwarder restarts. Any idea why would this happen? Universal Forwarder version  - 6.6.6&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 16:39:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412890#M73054</guid>
      <dc:creator>meenu_2017</dc:creator>
      <dc:date>2019-03-01T16:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input not following the cron schedule</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412891#M73055</link>
      <description>&lt;P&gt;Ideally this should not happen, if you've specified correct Cron schedule. Does it get executed immediately after the forwarder restart? Also, does it get executed once every time forwarder restarts or multiple times?&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.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Mar 2019 19:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412891#M73055</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-03-01T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input not following the cron schedule</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412892#M73056</link>
      <description>&lt;P&gt;Its getting executed once immediately after forwarder restart! We have a big set of machines working as expected with the same config and a few which is showing duplicate events from multiple runs.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 21:30:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412892#M73056</guid>
      <dc:creator>meenu_2017</dc:creator>
      <dc:date>2019-03-01T21:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input not following the cron schedule</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412893#M73057</link>
      <description>&lt;P&gt;Is there any difference if we specify the cron with &lt;STRONG&gt;schedule =&lt;/STRONG&gt; or &lt;STRONG&gt;interval=&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 20:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/scripted-input-not-following-the-cron-schedule/m-p/412893#M73057</guid>
      <dc:creator>meenu_2017</dc:creator>
      <dc:date>2019-09-04T20:51:22Z</dc:date>
    </item>
  </channel>
</rss>

