<?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: How to Write Cron expression to Schedule alert on @ 11am, Every month on 2nd  Wednesday,Thursday,Friday? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502108#M8946</link>
    <description>&lt;P&gt;This is not working can you provide exact expression which is working in crontab related to my question.&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 11:18:27 GMT</pubDate>
    <dc:creator>ajayabburi508</dc:creator>
    <dc:date>2020-05-22T11:18:27Z</dc:date>
    <item>
      <title>How to Write Cron expression to Schedule alert on @ 11am, Every month on 2nd  Wednesday,Thursday,Friday?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502106#M8944</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;
&lt;P&gt;We need to schedule alert for Every month on 2nd Wednesday,Thursday and Friday on @11 am. I have tried with below Cron Expression but i didn't get exact results.&lt;/P&gt;
&lt;P&gt;Cron Expression: 0 11 8-14 * 3-4&lt;/P&gt;
&lt;P&gt;Please provide proper cron expression.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:56:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502106#M8944</guid>
      <dc:creator>ajayabburi508</dc:creator>
      <dc:date>2020-06-09T15:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write Cron expression to Schedule alert on @ 11am, Every month on 2nd  Wednesday,Thursday,Friday?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502107#M8945</link>
      <description>&lt;P&gt;Hello @ajayabburi508 &lt;/P&gt;

&lt;P&gt;if you specify &lt;STRONG&gt;both&lt;/STRONG&gt; days of month and days of week, they are combined with an "&lt;STRONG&gt;OR&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;Commands  are  executed by cron(8) when the 'minute', 'hour', and 'month of the year' fields match the current time, &lt;STRONG&gt;and&lt;/STRONG&gt; at least one of the two 'day' fields ('day of month',  or  'day  of  week') match the current time.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;0 11 * * 3-5&lt;/CODE&gt; “At 11:00 on every day-of-week from Wednesday through Friday.” &lt;A href="https://crontab.guru/#0_11_*_*_3-5"&gt;https://crontab.guru/#0_11_*_*_3-5&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;0 11 8-14 * 3-5&lt;/CODE&gt; “At 11:00 on every day-of-month from 8 through 14 &lt;STRONG&gt;and&lt;/STRONG&gt; on every day-of-week from Wednesday through Friday.” &lt;A href="https://crontab.guru/#0_11_8-14_*_3-5"&gt;https://crontab.guru/#0_11_8-14_*_3-5&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So you can use the first version &lt;CODE&gt;0 11 * * 3-5&lt;/CODE&gt; and discard 12-14 results/month or &lt;CODE&gt;0 11 8-14 * *&lt;/CODE&gt; and discard 4 results/month&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502107#M8945</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-05-22T11:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write Cron expression to Schedule alert on @ 11am, Every month on 2nd  Wednesday,Thursday,Friday?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502108#M8946</link>
      <description>&lt;P&gt;This is not working can you provide exact expression which is working in crontab related to my question.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502108#M8946</guid>
      <dc:creator>ajayabburi508</dc:creator>
      <dc:date>2020-05-22T11:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Write Cron expression to Schedule alert on @ 11am, Every month on 2nd  Wednesday,Thursday,Friday?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502109#M8947</link>
      <description>&lt;P&gt;@ajayabburi508 it seems it is not possible with one single expression, both provided expressions are partial workarounds but not the solution that you asked&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-Write-Cron-expression-to-Schedule-alert-on-11am-Every/m-p/502109#M8947</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-05-22T13:11:16Z</dc:date>
    </item>
  </channel>
</rss>

