0

I want to trigger a shell script at 35th second, every minute. However, I see that airflow supports CRON from the minute level instead of the second level.

For example, the cron Expression

35 * * * *

triggers a job at every 35th minute in airflow.

Keith Thompson
  • 254,901
  • 44
  • 429
  • 631

1 Answers1

1

I'm not familiar with Airflow, but cron only supports 1-minute resolution.

You could use cron to invoke a job every minute and let the job sleep for 35 seconds:

* * * * * sleep 35 ; do_something
Keith Thompson
  • 254,901
  • 44
  • 429
  • 631