<?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: Corn job in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679812#M232378</link>
    <description>&lt;P&gt;Assuming you mean cron not corn, try checking your expression with something like&amp;nbsp;&lt;A href="https://crontab.guru/" target="_blank"&gt;Crontab.guru - The cron schedule expression generator&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 15:18:26 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-03-06T15:18:26Z</dc:date>
    <item>
      <title>Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679805#M232377</link>
      <description>&lt;P&gt;Hi all, I set a corn job on alert&lt;/P&gt;&lt;P&gt;my alert should not trigger between 9pm to 7am I used below corn job but I am receiving alerts after 9pm&lt;/P&gt;&lt;P&gt;0 0-21, 7-23 5-9 3 1-7&lt;/P&gt;&lt;P&gt;is this corn job correct?? Do I need to do any changes????&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 14:38:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679805#M232377</guid>
      <dc:creator>Santosh2</dc:creator>
      <dc:date>2024-03-06T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679812#M232378</link>
      <description>&lt;P&gt;Assuming you mean cron not corn, try checking your expression with something like&amp;nbsp;&lt;A href="https://crontab.guru/" target="_blank"&gt;Crontab.guru - The cron schedule expression generator&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679812#M232378</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-06T15:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679814#M232379</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245810"&gt;@Santosh2&lt;/a&gt;&amp;nbsp;As per your query, "&lt;EM&gt;&lt;U&gt;my alert should not trigger between 9pm to 7am I used below corn job but I am receiving alerts after 9pm".&amp;nbsp;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So, It means the Cron job should run between 7AM to 9 PM correct? In this case, you can try this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;* 7-21 * * *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hour: 7-21 (Every hour from 7 AM to 9 PM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1709738361345.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29626i25A37D9E29011E87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1709738361345.png" alt="kiran_panchavat_0-1709738361345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679814#M232379</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2024-03-06T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679815#M232380</link>
      <description>&lt;P&gt;I did it it’s saying it won’t run from 9pm to 7 am&lt;/P&gt;&lt;P&gt;but it’s not working&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:19:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679815#M232380</guid>
      <dc:creator>Santosh2</dc:creator>
      <dc:date>2024-03-06T15:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679819#M232381</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245810"&gt;@Santosh2&lt;/a&gt;&amp;nbsp;Modify the remaining (month,weekday,weekend etc) as per your requirement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:21:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679819#M232381</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2024-03-06T15:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679821#M232382</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245810"&gt;@Santosh2&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;What you mentioned in the cron job, that is wrong: 0 0-21, 7-23 5-9 3 1-7&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cron jobs :&lt;BR /&gt;#############&lt;/P&gt;&lt;P&gt;* * * * *&lt;/P&gt;&lt;P&gt;Each * denotes each value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Minute&lt;BR /&gt;2. Hour&lt;BR /&gt;3. Day&lt;BR /&gt;4. Month&lt;BR /&gt;5. Weekday&lt;/P&gt;&lt;P&gt;Example: If you want to run a report for everyhour from morning 8'o clock to evening 8'o clock ?&lt;/P&gt;&lt;P&gt;Ans : 00 08-20 * * *&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 15:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679821#M232382</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2024-03-06T15:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679849#M232395</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264857"&gt;@kiran_panchavat&lt;/a&gt;&amp;nbsp;, yes your are correct but my requirement is in 24 hours I&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;don’t want to receive the alert at 10pm, 11pm only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can I do that????&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:44:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679849#M232395</guid>
      <dc:creator>Santosh2</dc:creator>
      <dc:date>2024-03-06T17:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679850#M232396</link>
      <description>&lt;LI-CODE lang="markup"&gt;0 0-21 * * *&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Mar 2024 17:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679850#M232396</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-06T17:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679854#M232399</link>
      <description>&lt;P&gt;If I want to exclude only 10pm then what will be the cron job&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:06:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679854#M232399</guid>
      <dc:creator>Santosh2</dc:creator>
      <dc:date>2024-03-06T18:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679864#M232403</link>
      <description>&lt;P&gt;&lt;A href="https://crontab.guru/#0_0-21,23_*_*_*" target="_self"&gt;https://crontab.guru/#0_0-21,23_*_*_*&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 0-21,23 * * *&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679864#M232403</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-06T18:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679868#M232405</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/245810"&gt;@Santosh2&lt;/a&gt;&amp;nbsp;Can you try this&amp;nbsp; : * 7-21,0-9,12-21 * * *&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 19:20:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679868#M232405</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2024-03-06T19:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Corn job</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679869#M232406</link>
      <description>&lt;P&gt;Hour (7-21,0-9,12-21):&amp;nbsp; The range 7-21 includes hours from 7 AM to 9 PM. The additional ranges 0-9 and 12-21 ensure that hours from midnight to 9 AM and from noon to 9 PM are also included. Therefore, the cron job runs every minute from 7 AM to 9 PM, excluding 10 PM and 11 PM.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 19:21:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Corn-job/m-p/679869#M232406</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2024-03-06T19:21:30Z</dc:date>
    </item>
  </channel>
</rss>

