J
J
JewrySoft2020-04-30 01:37:01
Python
JewrySoft, 2020-04-30 01:37:01

How to make a python script restart on error?

Here I have a telegram bot, and sometimes it stops, they say an error (there is another story).
And how to make the script automatically restart after stopping (python bot.py)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-04-30
@JewrySoft

systemd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question