<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cron restart command]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/12326/invidious-subscriptions-break-if-you-don-t-reboot">invidious subscriptions break if you don't reboot</a></p>
<p dir="auto">I try to set up a periodic restart of the app with cron. The provided template <code>0 * * * * echo "==&gt; Restarting invidious periodically" &amp;&amp; supervisorctl restart invidious</code> did not trigger a restart (according to the app logs). When running the command manually in <code>app/code/</code>, I get a Python <code>ModuleNotFoundError</code>:</p>
<pre><code class="language-python"># supervisorctl restart invidious
Traceback (most recent call last):
  File "/app/code/venv/bin/supervisorctl", line 5, in &lt;module&gt;
    from supervisor.supervisorctl import main
  File "/app/code/venv/lib/python3.14/site-packages/supervisor/supervisorctl.py", line 40, in &lt;module&gt;
    from supervisor.options import ClientOptions
  File "/app/code/venv/lib/python3.14/site-packages/supervisor/options.py", line 13, in &lt;module&gt;
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
</code></pre>
<p dir="auto">Have there been changes to this over time? Thanks.</p>
]]></description><link>https://forum.cloudron.io/topic/16359/cron-restart-command</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Dec 2026 23:28:13 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16359.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Nov 2026 16:44:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cron restart command on Tue, 01 Dec 2026 08:28:13 GMT]]></title><description><![CDATA[<p dir="auto">This is fixed with latest package</p>
]]></description><link>https://forum.cloudron.io/post/133644</link><guid isPermaLink="true">https://forum.cloudron.io/post/133644</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 01 Dec 2026 08:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to Cron restart command on Mon, 30 Nov 2026 20:33:45 GMT]]></title><description><![CDATA[<p dir="auto">Actually it was another issue where I found that we had 2 different versions of supervisor installed. This will be fixed with the next package later today or tomorrow.</p>
]]></description><link>https://forum.cloudron.io/post/133626</link><guid isPermaLink="true">https://forum.cloudron.io/post/133626</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 30 Nov 2026 20:33:45 GMT</pubDate></item><item><title><![CDATA[Reply to Cron restart command on Mon, 30 Nov 2026 20:30:00 GMT]]></title><description><![CDATA[<p dir="auto">Ah so the full command would be:</p>
<pre><code>/usr/bin/supervisorctl --configuration /etc/supervisor/supervisord.conf restart all
</code></pre>
<p dir="auto">Will see if we can make the config implicit again (like the docs imply)</p>
]]></description><link>https://forum.cloudron.io/post/133624</link><guid isPermaLink="true">https://forum.cloudron.io/post/133624</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 30 Nov 2026 20:30:00 GMT</pubDate></item></channel></rss>