but Croniter raise this message:
"errorMessage": "[1 3 ? 3,10 sun *] is not acceptable",
gives any solution to use croniter with aws eventBridge rules?
here the full code:
now = datetime.datetime.now()
sched = '1 3 ? 3,10 SUN *'
cron = croniter.croniter(sched, now)
for i in range(4):
nextdate = cron.get_next(datetime.datetime)
logger.info(nextdate)
sched = '1 3 ? 3,10 SUN *'
this is a valid AWS eventbridge cron
but Croniter raise this message:
"errorMessage": "[1 3 ? 3,10 sun *] is not acceptable",
gives any solution to use croniter with aws eventBridge rules?
here the full code:
Best regards