Server Crashes After Enabling systemd Timer for JupyterHub Task (original) (raw)

April 25, 2025, 10:22am 1

Hello,

I am connecting to JupyterHub through a server, which is not hosted locally. I want to run a Jupyter notebook at the same time every day using systemd. However, when I test if the scheduled task works after a server restart by running sudo reboot, the server crashes, and I have to access a new server address.

I have two related files: one is mail.service, and the other is mail.timer. When I run sudo systemctl start mail.service, the mail is sent as expected. But after creating, enabling, and starting the timer files (my_task.timer), the system crashes when I run sudo reboot.

Could you please help me figure out what might be going wrong?

minrk April 25, 2025, 2:45pm 2

What does the scheduled task look like? What are the logs and traceback and any error messages leading up to the crash (e.g. journalctl -u your-unit)?