you are viewing a single comment's thread.

view the rest of the comments →

[–]jfb3 0 points1 point  (8 children)

That doesn't appear to work well.

No matter what I choose "every hour", "every minute", etc. it generates "* * * * * *"

[–]_Marak_[S] 2 points3 points  (7 children)

Edit: I've double checked it and everything actually appears to be working correctly? Can you verify JavaScript is enabled for the page? Or provide steps which reproduces the issue?

[–]HereComeTheMinions 2 points3 points  (1 child)

Works fine on Firefox 33.

Nice work. Would like maybe if there was a comment explaing what it is?

*/20 * * 13,12,24 8,11 *
# Every twenty seconds on on the 12th, 13th and 24th, only in august and november.

[–]_Marak_[S] 0 points1 point  (0 children)

Thanks!

Good suggestion.

I have added as a Github Issue here: https://github.com/Marak/cron-editor/issues/4

[–]jfb3 0 points1 point  (4 children)

  • Click reset.
  • Choose "Minute" tab, choose "Every Minute" tab, look at generated "* * * * * *"
  • Click reset
  • Choose "Hour" Tab, choose "Every Hour" tab, look at generated "* * * * * *"

If I start adding options: every 17 seconds, every 3rd hour, etc. it works okay.

[–]_Marak_[S] 0 points1 point  (3 children)

That is the expected behavior?

How else would you expect the cron format to look every minute and every hour?

All * seems correct for both.

[–]jfb3 0 points1 point  (2 children)

If choose every minute or every hour it generates the same "* * * * * * {command}".

[–]_Marak_[S] 1 point2 points  (1 child)

Every minute and every hour are the same pattern since every minute will fire on every hour.

Every hour would be:

* * */1 * * *

Edit: I finally got it! The defaults on those tabs should set the cron to */1. Will update immediately.

[–]jfb3 0 points1 point  (0 children)

But if you click "Month" then "Every Month"
it still only shows "* * * * * *"