Oozie - run a workflow every day or every hour Oozie - run a workflow every day or every hour hadoop hadoop

Oozie - run a workflow every day or every hour


You have to use the Oozie Coordinator for scheduling oozie workflows.

To execute at the end of every day, use the EL function ${coord:endOfDays(1)}

Embed your workflow definition within the coordinator action,

<coordinator-app name="daily" frequency="${coord:endOfDays(1)}" start="${start}" end="${end}"                 timezone="UTC" xmlns="uri:oozie:coordinator:0.1">  <action>     <workflow>       ...     </workflow>  </action></coordinator-app>

Note: Oozie coordinator also supports Cron Syntax. Use it for more flexible frequencies.