Skip to content

Conversation

@robbruce
Copy link

The rufus scheduler supports a schedule based on seconds, by using the repeat method instead of cron, the method returns an EveryJob or a CronJob based on the schedule used.

schedule => "* * * * *" # CronJob scheduled for every minute
schedule => "10" # EveryJob scheduled for every 10 seconds

@robbruce
Copy link
Author

I have signed the CLA at a company level, twice! Please can this be checked.

@jsvd jsvd requested a review from guyboertje October 22, 2018 16:42
@filip-707
Copy link

The rufus scheduler supports a schedule based on seconds,

Rufus supports seonds, and Rufus support cron "like", which means it looks like cron, but it isn't cron. Rufus add the "seconds" support, as per their doc. Notice the extra "*"

"* * * * * *" //should be every seconds
"*/10 * * * * *" //every ten seconds (works in my pipeline logstash 7.6)

@robbruce
Copy link
Author

Closing as although CLA has been signed, it's just being picked up

@robbruce robbruce closed this Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants