Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

job hours are passed as string to cron instead of object #8

Closed
sergii-sakharov opened this issue Jul 26, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@sergii-sakharov
Copy link

E.g. following works:

cron { "curator_${name}":
.....
hour => [2,3,4],
.....
}

While job wraps hour in a string and its now not possible to pass an array. Tried following:
hour: '[3,4,5]'
hour: '3,4,5'

The workaround is to create a job per time slot

@mvisonneau
Copy link
Owner

mvisonneau commented Aug 1, 2018

Indeed, I just pushed a fix 👍 thanks!

@mvisonneau mvisonneau self-assigned this Aug 1, 2018
@mvisonneau mvisonneau added the bug label Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants