sojinantony01 / react-cron-generator

Simple react component to generate cron expressions
MIT License
86 stars 63 forks source link

Simple Cron Expression Not Possible? #42

Closed slimandslam closed 2 years ago

slimandslam commented 2 years ago

I'm using the instance here: https://sojinantony01.github.io/react-cron-generator/ I merely want to say "run it at 5 minutes past the hour, every hour". The expression should be "5 "

However, I cannot obtain this expression using the UI (other than pasting it into the "Custom" tab).

sojinantony01 commented 2 years ago

@slimandslam As I mentioned in the description this cron generator only supports 6 or 7 cron values. "5 " is 5 value cron. seconds and the year value is missing in this cron value. Please convert this value to a 6 or 7 value cron "0 5 " or "0 5 *"

slimandslam commented 2 years ago

I am not able to generate either "0 5 " or "0 5 *" using your sample generator: https://sojinantony01.github.io/react-cron-generator/

sojinantony01 commented 2 years ago

Ok, I understood the issue I think for this one we need one more selection option in the hourly tab To select every hour 5 minute Let me try to add one more option for this

Reopening issue

sojinantony01 commented 2 years ago

Added option for minute selection in hourly tab please check latest version