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

Scheduling jobs #560

Open
kbrock opened this issue Oct 2, 2024 · 0 comments
Open

Scheduling jobs #560

kbrock opened this issue Oct 2, 2024 · 0 comments

Comments

@kbrock
Copy link
Member

kbrock commented Oct 2, 2024

Discussed in https://github.com/orgs/ManageIQ/discussions/23164

Originally posted by erwinb3 August 28, 2024
Scheduling jobs in manageiq
Whats the best practice to schedule jobs in manageiq from automation?
As an example I want a user virtual machine snapshot to be scheduled(method).
This execution to vcenter can be done with an method in manageiq.

There is a scheduler available in evm, unfortunately i can't find an option to create a new schedule from a method with evm.execute or an api for example.

As a workaround i am now on a method that creates a crontab task that executes a ruby ​​script.
This ruby script calls the api to call an instance/method to make the snapshot.

@kbrock kbrock transferred this issue from ManageIQ/manageiq Oct 2, 2024
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

1 participant