ondemand
ondemand copied to clipboard
Warning for expiring interactive sessions
Hi,
Would there be some way to notify the user when an interactive session (e.g. a Jupyter notebook) is expiring (almost at run time limit)? The problem is that Jupyter notebooks can not be saved when the session has expired, such that if this happens, one has no other choice but to open a new session and copy all the non-saved changes to the new session before closing the expired one.
Thanks in advance!
┆Issue is synchronized with this Asana task by Unito
Hi, thanks for the feature request.
I'm not sure how this could work off hand because the user would be in another window. Maybe if we start using notifications?
Hi @johrstrom ,
A notification of some sort is perfect. When using slurm it is for instance possible to inform the user by mail that the run_time has reached 90% of the time limit.
Ohhhh! Thanks for the tip. Seems like even without a notification we may be able to support TIME_LIMIT_90
for Slurm.
I opened https://github.com/OSC/ood_core/issues/325 for the same.
+1 for this feature, as we've had user requests along these lines. I was curious though if a browser-based notification could be sent instead of/in addition to an email? Along the lines of what is discussed here, but for jobs nearing the end of their walltime. Perhaps the SLURM --signal
option could be used to initially signal the controlling process in the batch job and thus trigger the notification from OOD?