如何在 Luigi 中安排工作流程?
How to schedule workflow in Luigi?
我可以使用以下命令在 luigi
中立即执行 pipeline/workflow:
luigi --module mypipeline mypipeline --local-scheduler
但是我怎样才能给它添加一个时间表,例如每 10 天执行一次?
我无法在 documentation
中找到调度程序示例或适用的示例代码
Luigi does not include its own triggering, so you have to rely on an external scheduler such as crontab to actually trigger the workflows.
我可以使用以下命令在 luigi
中立即执行 pipeline/workflow:
luigi --module mypipeline mypipeline --local-scheduler
但是我怎样才能给它添加一个时间表,例如每 10 天执行一次?
我无法在 documentation
中找到调度程序示例或适用的示例代码Luigi does not include its own triggering, so you have to rely on an external scheduler such as crontab to actually trigger the workflows.