You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that epilogue is not working after stopping the notebook. I set up the epilogue parameter in the configuration file like this:
c.SlurmSpawner.req_epilogue = """!/bin/bash echo 'hostname'""" (just an example). I am able to see the command in jupyterhub log after cmd but nothing happens.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Hello! Would you try setting this variable like so instead:
c.SlurmSpawner.req_epilogue = "echo 'hostname'"
The req_epilogue variable is substituted into the Slurm script as-is after the cmd returns, it's not a separate script. The #!/bin/bash prefix is unnecessary, and results in the line being ignored as a comment.
Bug description
It seems that epilogue is not working after stopping the notebook. I set up the
epilogue
parameter in the configuration file like this:c.SlurmSpawner.req_epilogue = """!/bin/bash echo 'hostname'"""
(just an example). I am able to see the command in jupyterhub log aftercmd
but nothing happens.Expected behaviour
run epilogue after stopping the notebook.
Actual behaviour
Your personal set up
The text was updated successfully, but these errors were encountered: