ScottDye
10 months agoQrew Trainee
Pipeline Jinja based on current timestamp
I'm trying to build a pipeline that runs hourly, to perform an API call. However, I would like for the same pipeline to perform a second action once per day, at a specific hour (when the hourly run happens in the 6:00AM hour).
I understand to build an if statement as so:
IF [expression (advanced)] evaluates to TRUE
[____________________________________]
and I know that the Jinja for "now" is {{time.now}}
How would I build the expression that returns true only if the current time is within the 6:00AM hour?
------------------------------
Scott Dye
------------------------------