dbos-inc / dbos-transact-py

Ultra-Lightweight Durable Execution in Python
https://docs.dbos.dev
MIT License
244 stars 7 forks source link

Invalid cron spec does not trigger an error #123

Closed apoliakov closed 1 month ago

apoliakov commented 1 month ago

From a discord conversation https://discord.com/channels/1156433345631232100/1217220112570912898/1290004975757557761

@DBOS.scheduled("*/invalid * * * * *") but does not throw an error, either. And its invalid, just checked with an online cron format validator.
kraftp commented 1 month ago

Addressed in https://github.com/dbos-inc/dbos-transact-py/pull/125