Using cron option in Checks

Hi guys

I want to setup some checks to run from Monday to Friday, reading the docs I found there is a cron option, so what I want to do is run the check
at the interval configured on the inteval parameter, do I have to remove the interval to use cron instead?

I want something like this: "cron": "0/1 * * * 1-5" will this do the trick? run the check every minute from M to F?

Thanks
Regards

https://sensuapp.org/docs/0.29/reference/checks.html#check-attributes says:

“interval” is required unless “cron” is configured. So, yes, I’d do as you said.

···

On Wednesday, April 19, 2017 at 7:08:30 PM UTC+2, Kernel Panic wrote:

Hi guys

I want to setup some checks to run from Monday to Friday, reading the
docs I found there is a cron option, so what I want to do is run the check
at the interval configured on the inteval parameter, do I have to remove
the interval to use cron instead?

I want something like this: “cron”: “0/1 * * * 1-5” will this do the
trick? run the check every minute from M to F?

Thanks
Regards