You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess Sentry does not support month/day names like node-cron does?
Hey @timfishk, correct, Crons only supports the crontab syntax. However, we could parse it in the front-end and send it like this to Sentry: * * * January,September Sunday becomes * * * 1,7 0 which would represent the same thing.
Activity
[-]Instrumentation for Node cron library[/-][+]Instrumentation for node-cron library[/+]timfish commentedon Dec 18, 2023
I guess Sentry does not support month/day names like
node-crondoes?gaprl commentedon Dec 18, 2023
Hey @timfishk, correct, Crons only supports the crontab syntax. However, we could parse it in the front-end and send it like this to Sentry:
* * * January,September Sundaybecomes* * * 1,7 0which would represent the same thing.Seems like they are already doing something similar here: src/convert-expression/index.js#L51-L62
gaprl commentedon Dec 18, 2023
Ideally we could automatically instrument all monitors by doing something like: