<?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 expression for splunk alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582278#M13422</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you tried with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;* * * * 1-5&lt;/LI-CODE&gt;&lt;P&gt;you have to define the condition for the fifth parameter (1-5) then you can define the dayly frequency, e.g. every hour it could be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 * * * 1-5&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 16:02:36 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-01-24T16:02:36Z</dc:date>
    <item>
      <title>Cron expression for splunk alert</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582277#M13421</link>
      <description>&lt;P&gt;I Want to create one splunk alert where it runs on all weekdays and Pause&lt;SPAN&gt;&amp;nbsp;at "Friday 11:59 PM CST " and resume at Sunday 11:59 PM CST"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you help me with a Cron expression that satisfies the above requirement?&lt;/P&gt;&lt;P&gt;I need the alert to be set up in CST time zone only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 15:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582277#M13421</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2022-01-24T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cron expression for splunk alert</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582278#M13422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you tried with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;* * * * 1-5&lt;/LI-CODE&gt;&lt;P&gt;you have to define the condition for the fifth parameter (1-5) then you can define the dayly frequency, e.g. every hour it could be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;0 * * * 1-5&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 16:02:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582278#M13422</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-01-24T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cron expression for splunk alert</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582280#M13423</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply, Yes i tried the below Expression which runs every hour past 30 minutes from Mon-Fri&lt;/P&gt;&lt;P&gt;30 * * * 1-5&lt;/P&gt;&lt;P&gt;However, my requirement is to&amp;nbsp;&lt;SPAN&gt;Pause&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;at "Friday 11:59 PM CST " and resume at Sunday 11:59 PM CST" which is tricky part and not sure how to set up in CST time zone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In My preference, if i set up in CST time zone , will that work ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 16:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582280#M13423</guid>
      <dc:creator>shashi584</dc:creator>
      <dc:date>2022-01-24T16:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cron expression for splunk alert</title>
      <link>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582282#M13424</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236302"&gt;@shashi584&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the it isn't possible to setup the timezone in the cron expression, it define the hours of execution, if you have a time in CST or a different timezone it a definition of your system, not of cron.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 16:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Cron-expression-for-splunk-alert/m-p/582282#M13424</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-01-24T16:11:34Z</dc:date>
    </item>
  </channel>
</rss>

