-
Notifications
You must be signed in to change notification settings - Fork 37
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
Get job state / post-job hook #144
Comments
I would also like this feature. |
after almost five years has this still not been added? |
4 tasks
kevinushey
added a commit
that referenced
this issue
Feb 9, 2024
Sorry for the wait -- this is now available in the latest daily builds of RStudio + the development versions of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, one can set job states, status, etc., with function luke rstudioapi::setJobState(). However, one can not retrieve them as far as I can tell. I would like a getJob() or getJobs() function akin to those functions for launcher jobs.
It seems this is available with hidden IDE function
.rs.invokeRpc("get_jobs")
.My use-case is writing some wrappers to alert me to the status of jobs running on my server (with RPushbullet).
It would also be helpful to have a post-job hook akin to
stop
orinfo
injobAdd()
that could define a function (taking the script name and results environment as an argument) to run after a job defined withjobAdd()
orjobRunScript()
.The text was updated successfully, but these errors were encountered: