Azkaban runtime parameter for yesterday

814 views Asked by At

According to official website, Azkaban only provides year-month-date for running time like:

${azkaban.flow.start.day}

Is it possible to add parameters for the day before?

1

There are 1 answers

0
cadl On BEST ANSWER

You can define it with jexl by yourself.

e.g.

yesterday=$(new("org.joda.time.DateTime").minusDays(1).toString("yyyy-MM-dd"))

ref: https://github.com/azkaban/azkaban/pull/277