Skip to main content

Workflow scheduling plans really aren't like a cron schedule

  • February 7, 2024
  • 2 replies
  • 206 views

Marcel-Jan
Star Blazer L2
Forum|alt.badge.img+1

Yes, it is clearly stated in the documentation (Scheduler - Ataccama ONE Gen2 Platform Latest), but it is also easy to overlook: scheduling plans for workflows look a bit like crontab schedules. But they aren't.

Example workflow scheduling plan:

<?xml version='1.0' encoding='UTF-8'?>

<scheduleDefinition>

Ā  Ā  Ā  Ā  <description>ATAC_DWH - Load Dimensions and Facts</description>

Ā  Ā  Ā  Ā  <enabled>true</enabled>

Ā  Ā  Ā  Ā  <job workflow="myorg:ATAC_DWH_dims_and_facts.ewf" class="com.ataccama.adt.scheduler.job.WorkflowJob"/>

Ā  Ā  Ā  Ā  <scheduling>0 20 1-5 *</scheduling>

</scheduleDefinition>

Ā 

For example, when you want to schedule workflow Monday to Friday at 20:00 you might thinkĀ ā€œeasy, I just go toĀ crontab.guru, Fill in what I want and voilaā€: the schedule plan will beĀ 0 20 * * 1-5.

Except you will notice that your workflow will also run in weekends. BecauseĀ the format of the workflow scheduler is:

minutes hours day_of_week day_of_month

It has only four positions. And it will happily ignore your 1-5 (meaning Monday to Friday) on the fifth position.

So your actual scheduling plan should be: 0 20 1-5 *

Ā 

Also, this scheduling format is different from the advanced scheduling format of monitoring projects.

The scheduler for monitoring projects actually is cron expression like.

This _is_ actually cron expression like and Ataccama even has a link to the cron expression generatorĀ  on freeformatter.com. You would be excused to think you could generate a scheduling plan for monitoring project and then copy it to your workflow scheduling plan, thinking that will work. But there formats are not the same.

Ā 

You wouldn't be the first one to overlook this. Maybe it's time for an ataccamacrontab.guru or Ataccama scheduling plan generator or something.

2 replies

Forum|alt.badge.img+1

Hi @Marcel-Jan, thank you for taking the time to share this tip and pass on the feedback on how we can make it more visible šŸ’”


Forum|alt.badge.img
  • Data Voyager
  • August 10, 2026

ā€œMaybe it's time for an ataccamacrontab.guru or Ataccama scheduling plan generator or something.ā€

Bumping this up as I just discovered thatĀ freeformatter.com is now retired - the link pictured above in theĀ advanced scheduling format of monitoring projects no longer works, and the website in general has the following announcement:
Ā 

Another Corner of the Internet Has Been Successfully Ruined

This website is being retired.

Ā 

So yes, even with many other (free) cron expression generators out there in the wild, maybe it would be good if Ataccama provided an ā€œin-houseā€ solution for cron expression generationĀ (results from the ones I tried did not match the format of cron expressions that are currently in place in my monitoring projects).