<?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[Proper Way to Reboot via Bash&#x2F;Crontab]]></title><description><![CDATA[<p dir="auto">Hey folks, not really much of a need for a lot of support, but I thought I'd ask, just before implementing it.</p>
<p dir="auto">If I want to reboot via bash/crontab, is it okay to just <code>\sbin\reboot</code>, or does that risk breaking things?  Trying to automate the Ubuntu updates that require a reboot (with this particular server, a short downtime isn't a huge deal).  Naturally, I'll schedule it for different times from the backup and app updates.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/15603/proper-way-to-reboot-via-bash-crontab</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 10:58:56 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15603.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Jun 2026 20:46:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Proper Way to Reboot via Bash&#x2F;Crontab on Wed, 10 Jun 2026 06:52:08 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/somebody" aria-label="Profile: somebody">@<bdi>somebody</bdi></a> and welcome to the Cloudron forum</p>
<p dir="auto">There is no need for a custom crontab or bash script.<br />
See <a href="https://help.ubuntu.com/community/AutomaticSecurityUpdates" target="_blank" rel="noopener noreferrer nofollow ugc">https://help.ubuntu.com/community/AutomaticSecurityUpdates</a></p>
<p dir="auto">You can edit <code>/etc/apt/apt.conf.d/50unattended-upgrades</code> and enable the automatic reboot:</p>
<pre><code class="language-diff">- //Unattended-Upgrade::Automatic-Reboot "false";
+ Unattended-Upgrade::Automatic-Reboot "true";
</code></pre>
<p dir="auto">and just to be sure restart the service with:</p>
<pre><code class="language-bash">systemctl restart unattended-upgrades.service
</code></pre>
<p dir="auto">With this change the system should automatically reboot.</p>
]]></description><link>https://forum.cloudron.io/post/125650</link><guid isPermaLink="true">https://forum.cloudron.io/post/125650</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 10 Jun 2026 06:52:08 GMT</pubDate></item></channel></rss>