Open Miksus opened 1 year ago
Describe the solution you'd like It would be nice to do this:
from rocketry.conds import daily, weekly @app.task(daily.at("12:00", "18:00")) def do_daily_twice(): ... # Condition translates to: daily.at("12:00") | daily.at("18:00") @app.task(weekly.on("Mon", "Fri")) def do_weekly_twice(): ... # Condition translates to: weekly.on("Mon") | weekly.on("Fri")
Describe alternatives you've considered Use OR (|) but this gets tediuous.
|
Describe the solution you'd like It would be nice to do this:
Describe alternatives you've considered Use OR (
|
) but this gets tediuous.