<?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: Schedule databricks job based on custom calendar in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130404#M48780</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/179536"&gt;@Coffee77&lt;/a&gt;,&amp;nbsp;thanks for sharing that cron generator, before I have typically got help from AI, so I certainly appreciate an actual purpose-built tool&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2025 16:00:31 GMT</pubDate>
    <dc:creator>Pilsner</dc:creator>
    <dc:date>2025-09-01T16:00:31Z</dc:date>
    <item>
      <title>Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130396#M48774</link>
      <description>&lt;P&gt;I want to schedule the databricks jobs based on the custom calender, like skip the job run on random days or holidays.&lt;BR /&gt;&lt;BR /&gt;#databricks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23348"&gt;@DataBricks&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/80957"&gt;@DATA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 15:30:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130396#M48774</guid>
      <dc:creator>DataDev</dc:creator>
      <dc:date>2025-09-01T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130400#M48776</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/182033"&gt;@DataDev&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There's no out of the box way in Databricsk to do this. You can create pretty&amp;nbsp;&lt;SPAN&gt;complex schedules using the&amp;nbsp;Quartz Cron Syntax, but for your scenario you would need to implment custom logic.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, you can create Calendar-Driven Scheduling table that will store information about jobs that should run at particular date.&lt;BR /&gt;Then, at first step of your workflow the notebook will check against that table and it will execute job in programatic way based on entries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html" target="_blank"&gt;Cron Trigger Tutorial&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 15:50:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130400#M48776</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-09-01T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130401#M48777</link>
      <description>&lt;P&gt;You can schedule it by using "cron" expressions in order to get the most close to your needs/use case. Try to use some tool like this&amp;nbsp;&lt;A href="https://www.freeformatter.com/cron-expression-generator-quartz.html" target="_blank"&gt;https://www.freeformatter.com/cron-expression-generator-quartz.html&lt;/A&gt;&amp;nbsp;to generate it if you are not familiar with them.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 15:49:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130401#M48777</guid>
      <dc:creator>Coffee77</dc:creator>
      <dc:date>2025-09-01T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130402#M48778</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/182033"&gt;@DataDev&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Nice idea, I haven't thought about this before, but I like the suggestion.&lt;BR /&gt;&lt;BR /&gt;If I had to implement a custom schedule, there are two ways that come to mind.&lt;BR /&gt;&lt;BR /&gt;Firstly, if the schedule is relatively regular, with just an occasional day missed, you could set up a schedule as normal, but then manually pause it on the days you wish to miss.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pilsner_0-1756741448860.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19548iB4AE1ABF3C2C1F5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pilsner_0-1756741448860.png" alt="Pilsner_0-1756741448860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;However this isn't very dynamic. Alternatively, you could :&lt;BR /&gt;&lt;BR /&gt;1) Write a notebook that connects to your calendar.&lt;BR /&gt;2) You then want this notebook to simply finish successfully on days you want to run the job, but error on days you don't want the job to run. The exact logic depends on your run criteria/calendar entries.&lt;BR /&gt;3) In your pipeline, add this new notebook as your first job, with all other jobs dependant on it.&amp;nbsp;&lt;BR /&gt;4) Set the job to run every day (or the minimum time interval you would like between runs)&lt;BR /&gt;&lt;BR /&gt;To make this easier, you could try to export your calendar as a table and point the daily checker towards this instead.&lt;BR /&gt;&lt;BR /&gt;This should achieve the desired result as each day the first notebook will run, check your calendar to confirm if it should proceed or not, then either finish, or error. Assuming you job dependencies are setup correctly, the other tasks will only run on days where the first notebook, successfully finishes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you need me to expand further on any of these points feel free to ask. Please let me know how you get on.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards - Pilsner&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 15:54:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130402#M48778</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-09-01T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130404#M48780</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/179536"&gt;@Coffee77&lt;/a&gt;,&amp;nbsp;thanks for sharing that cron generator, before I have typically got help from AI, so I certainly appreciate an actual purpose-built tool&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 16:00:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/130404#M48780</guid>
      <dc:creator>Pilsner</dc:creator>
      <dc:date>2025-09-01T16:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Schedule databricks job based on custom calendar</title>
      <link>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/133134#M49731</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/182033"&gt;@DataDev&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Did the suggestions shared above help address your question? If so, please consider marking one or more responses as the accepted solution. If you found another approach that worked for you, sharing it with the community would be really helpful.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 10:01:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/schedule-databricks-job-based-on-custom-calendar/m-p/133134#M49731</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-09-27T10:01:48Z</dc:date>
    </item>
  </channel>
</rss>

