Skip to content
New issue

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

Add when() in __init__.py support when to start job #578

Closed
wants to merge 1 commit into from

Conversation

Smpests
Copy link

@Smpests Smpests commented Apr 12, 2023

May this be useful?Use it like"every(10).seconds.when('10:00').until(22:00)",run every 10 seconds from 10:00 to 22:00 every day.

@Smpests
Copy link
Author

Smpests commented Apr 13, 2023

Tested and unable to implement the previously mentioned job, as currently the until() for each job is only set once and will not be updated. Maybe we need to do this after: 'every (1). days. every (10). seconds. when ('xx: xx'). until ('xx: xx ')'。
I am currently implementing it externally for use in my code.

@Smpests Smpests closed this Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant