Cron restart command
-
Re: invidious subscriptions break if you don't reboot
I try to set up a periodic restart of the app with cron. The provided template
0 * * * * echo "==> Restarting invidious periodically" && supervisorctl restart invidiousdid not trigger a restart (according to the app logs). When running the command manually inapp/code/, I get a PythonModuleNotFoundError:# supervisorctl restart invidious Traceback (most recent call last): File "/app/code/venv/bin/supervisorctl", line 5, in <module> from supervisor.supervisorctl import main File "/app/code/venv/lib/python3.14/site-packages/supervisor/supervisorctl.py", line 40, in <module> from supervisor.options import ClientOptions File "/app/code/venv/lib/python3.14/site-packages/supervisor/options.py", line 13, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'Have there been changes to this over time? Thanks.
-
-
-
-
-
J james has marked this topic as solved
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login