<?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: Cron schedule in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681755#M232970</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, thank you for that.&lt;/P&gt;&lt;P&gt;i have one more question, can u pls help on this&lt;/P&gt;&lt;P&gt;I want a cron where alert should trigger &amp;nbsp;4 times a day starting from 12am, 6am, 12pm, 6 pm and weekday only at 6am everyday&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2024 20:16:19 GMT</pubDate>
    <dc:creator>Ash1</dc:creator>
    <dc:date>2024-03-23T20:16:19Z</dc:date>
    <item>
      <title>Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681753#M232968</link>
      <description>&lt;P&gt;We have an alert where the cron schedule runs for every 6hours&lt;/P&gt;&lt;P&gt;0 */6 * * *&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;but I don’t want to receive the alert at 6pm only how can I write a corn for that???&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 19:46:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681753#M232968</guid>
      <dc:creator>Ash1</dc:creator>
      <dc:date>2024-03-23T19:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681754#M232969</link>
      <description>&lt;P&gt;You can specify the exact hours you want the alert to run.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 0,6,12 * * *&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 23 Mar 2024 20:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681754#M232969</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-23T20:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681755#M232970</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;, thank you for that.&lt;/P&gt;&lt;P&gt;i have one more question, can u pls help on this&lt;/P&gt;&lt;P&gt;I want a cron where alert should trigger &amp;nbsp;4 times a day starting from 12am, 6am, 12pm, 6 pm and weekday only at 6am everyday&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 20:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681755#M232970</guid>
      <dc:creator>Ash1</dc:creator>
      <dc:date>2024-03-23T20:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681758#M232972</link>
      <description>&lt;P&gt;To have different cron schedules you have to clone the alert and set a separate schedule for each copy.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 23:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681758#M232972</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-23T23:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681770#M232975</link>
      <description>&lt;P&gt;As richgalloway said, you need 2 separate alerts for 2 separate cron schedules. To make this maintainable, you could make a single Saved Search, then make 2 separate alerts that reference the single Saved Search using the | savedsearch&amp;nbsp; (&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Savedsearch" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Savedsearch&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each alert will have a cron schedule:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;4 times a day starting from 12am, 6am, 12pm, 6 pm (weekends - Sat and Sun)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 */6 * * 0,6&lt;/LI-CODE&gt;&lt;P&gt;2) only at 6AM on weekdays (Mon-Fri)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 6 * * 1-5&lt;/LI-CODE&gt;&lt;P&gt;For formulating cron schedules, I recommend using the website&amp;nbsp;&lt;A href="https://crontab.guru/" target="_blank"&gt;https://crontab.guru/&lt;/A&gt;&amp;nbsp;as it makes a human-readable schedule at the top.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Mar 2024 10:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/681770#M232975</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-24T10:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/682057#M233044</link>
      <description>&lt;P&gt;Thank you all&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 21:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/682057#M233044</guid>
      <dc:creator>Ash1</dc:creator>
      <dc:date>2024-03-26T21:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cron schedule</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/682063#M233045</link>
      <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 23:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Cron-schedule/m-p/682063#M233045</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-26T23:52:46Z</dc:date>
    </item>
  </channel>
</rss>

