We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There should be a single place where these values are defined/changed instead of being defined on both FE and BE
switch frequency { case "5-minutely": return "*/5 * * * *" case "hourly": return fmt.Sprintf("%d * * * *", startTime.Minute()) case "daily": return fmt.Sprintf("%d %d * * *", startTime.Minute(), startTime.Hour()) case "weekly": return fmt.Sprintf("%d %d * * %d", startTime.Minute(), startTime.Hour(), startTime.Weekday()) case "monthly": return fmt.Sprintf("%d %d %d * *", startTime.Minute(), startTime.Hour(), startTime.Day()) default: return "" }
export type Frequency = "minute" | "hour" | "day" | "week" | "month";
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There should be a single place where these values are defined/changed instead of being defined on both FE and BE
The text was updated successfully, but these errors were encountered: