Re: Schedule interval options

2019-05-10 Thread James Coder
I think I originally dismissed that idea because I was thinking in terms in prev_ds. If your do 2-6 then on 2, you’re prev_ds in the TI context is 6, but if you just use yesterday_ds that is just crazy enough to work. I can’t believe it took me this long to realize that. James Coder > On May

Re: Schedule interval options

2019-05-10 Thread Bas Harenslak
Yea that’s why I also suggested 2-6. If that does not work for you, could you explain the use case? Bas > On 9 May 2019, at 22:00, James Coder wrote: > > Yes, but doing 1-5 would not run 5 until 1. > > James Coder > >> On May 9, 2019, at 2:40 PM, Bas Harenslak >> wrote: >> >> Perhaps

Re: Schedule interval options

2019-05-09 Thread James Coder
Yes, but doing 1-5 would not run 5 until 1. James Coder > On May 9, 2019, at 2:40 PM, Bas Harenslak > wrote: > > Perhaps needless to say, but you can do this with a cron expression, e.g. “0 > 0 * * 1-5” to schedule on weekdays only. Or “0 0 * * 2-6” to ensure you start > running from

Schedule interval options

2019-05-09 Thread James Coder
Hi All, I feel like this has probably been discussed more times than necessary, but I wanted to get the community opinion on running dags for business days. In my case I want to run M-F but I don't want to wait for Monday to run Fridays data. As far as I can tell the only way to do this right now