Closed fils closed 1 month ago
I'm seeing that first 7 days of the month. That's fine for now. We can refine later
Rather than doing days, maybe say parser.add_argument("-w", "--weekly", help="Spread the run over a week") parser.add_argument("-m", "--monthly", help="Spread the run over a month")
And if we have only 4 runs at a time, can we just say: @weekly or @monthly https://docs.dagster.io/concepts/partitions-schedules-sensors/schedules#basic-schedules
Will no longer be needed with changes to run dynamically
I think the logic here for trying to do a default distribution of the sources is wrong.
I want to say given 21 days and 42 source then a source would run ever 12 hours.
around line 23-24 I do
then around line 52 I do (where days is from the command line)
trying to get this aling with cron logic. This is now hacked a bit to make it work for the large number of sources in IoW and I hope it doesn't effect ECO.
I'll try and get this resolved to something working and logical soon but comments or better solutions welcome.