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 green energy feature for random within range jobs? #138

Open
physikerwelt opened this issue Jan 17, 2023 · 1 comment
Open

Add green energy feature for random within range jobs? #138

physikerwelt opened this issue Jan 17, 2023 · 1 comment

Comments

@physikerwelt
Copy link

The ~ operator allows scheduling a job randomly within a range. In #95, it is outlined how the operator works:

fsm-1

Instead of executing the job at random times, it might be better for the environment to execute it when green energy is available. This would require an API call to a program that determines if that is the case or not.

Is that something that could be imagined in the future? What would the requirements for the API be?

@t8m
Copy link
Member

t8m commented Jan 17, 2023

The current implementation is unfortunately not too helping with this RFE as the actual job execution time gets determined during the parsing of the crontab. So I am not sure how the API should look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants