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
My cron string format uses 1-5 or 1-7 for week day part. But looks like not supported in your script.
Example: 15 9 * * 1-5 (which is 9:15 every day from Monday to Friday) is throwing an error: Invalid initial value.
I think this function in your code should be modified to handle 1-5 or 1-7.
If this is possible, could you please help or advise.
`
// check format of initial cron value
var valid_cron = /^((\d{1,2}|\*)\s){4}(\d{1,2}|\*)$/
if (typeof cron_str != "string" || !valid_cron.test(cron_str)) {
$.error("cron: invalid initial value");
return undefined;
}`
The text was updated successfully, but these errors were encountered:
My cron string format uses 1-5 or 1-7 for week day part. But looks like not supported in your script.
Example: 15 9 * * 1-5 (which is 9:15 every day from Monday to Friday) is throwing an error: Invalid initial value.
I think this function in your code should be modified to handle 1-5 or 1-7.
If this is possible, could you please help or advise.
`
// check format of initial cron value
The text was updated successfully, but these errors were encountered: