Open sonots-zozo opened 5 years ago
My current workaround is to do as:
ids=$(digdag schedules | grep id | awk -F: '{print $2}')
echo "${ids}" | xargs -I{} digdag reschedule {} --skip-to "$(date '+%Y-%m-%d %H:%M:%S %z')"
then, digdag enable all projects.
We used
digdag disable
, and thendigdag enable
after a few days. We noticed that all jobs during being disabled were enqueued accidently. ref. https://qiita.com/shiozaki/items/d7ea6fe358da46bc13b5 (Japanese)To avoid this accident, I prefer to
I feel that
digdag pause
should behave like currentdigdag disable
digdag disable
should behave like 1.digdag resume
should behave like currentdigdag enable
digdag enable
should behave like 2.(although I know this change breaks backward compatibility, so is not acceptable)