<?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[[RESOLVED] @reboot doesn&#x27;t seem to work in cron]]></title><description><![CDATA[<p dir="auto">I put a @reboot &lt;my script&gt; in the cron (using crontab -e). But my python script doesn't seem to launch on reboot. It runs fine if I run it from the command line.</p>
<p dir="auto">Is @reboot not supported in cron on the Omega?</p>
<p dir="auto">Thanks,<br />
Dave</p>
]]></description><link>http://community.onion.io/topic/711/resolved-reboot-doesn-t-seem-to-work-in-cron</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 13:45:33 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/711.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Apr 2016 16:17:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Tue, 24 May 2016 20:59:17 GMT]]></title><description><![CDATA[<p dir="auto">I put a @reboot &lt;my script&gt; in the cron (using crontab -e). But my python script doesn't seem to launch on reboot. It runs fine if I run it from the command line.</p>
<p dir="auto">Is @reboot not supported in cron on the Omega?</p>
<p dir="auto">Thanks,<br />
Dave</p>
]]></description><link>http://community.onion.io/post/5135</link><guid isPermaLink="true">http://community.onion.io/post/5135</guid><dc:creator><![CDATA[Dave Abouav]]></dc:creator><pubDate>Tue, 24 May 2016 20:59:17 GMT</pubDate></item><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Wed, 27 Apr 2016 00:33:59 GMT]]></title><description><![CDATA[<p dir="auto">As per <a href="https://dev.openwrt.org/ticket/12438" rel="nofollow">stated here</a>, OpenWRT/busybox(which onion is based on) does not support "@" expressions.</p>
<p dir="auto">I almost forgot to mention: you can provide a better behaviour(considering you'll have additional options) using init scripts. You can setup one using the instructions provided <a href="https://wiki.openwrt.org/doc/techref/initscripts" rel="nofollow">here</a>. I have done one last weekend to start my python app with little/no headaches. I suggest give it a try.</p>
<p dir="auto">Regards,<br />
Vinicius</p>
]]></description><link>http://community.onion.io/post/5136</link><guid isPermaLink="true">http://community.onion.io/post/5136</guid><dc:creator><![CDATA[Vinicius Batista]]></dc:creator><pubDate>Wed, 27 Apr 2016 00:33:59 GMT</pubDate></item><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Tue, 26 Apr 2016 20:39:38 GMT]]></title><description><![CDATA[<p dir="auto">To run things on startup put the commands in the file /etc/rc.local before the exit 0 line ?<br />
I've done this for a couple of networking scripts I want to run on startup.</p>
]]></description><link>http://community.onion.io/post/5140</link><guid isPermaLink="true">http://community.onion.io/post/5140</guid><dc:creator><![CDATA[None None]]></dc:creator><pubDate>Tue, 26 Apr 2016 20:39:38 GMT</pubDate></item><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Sun, 01 May 2016 20:27:39 GMT]]></title><description><![CDATA[<p dir="auto">Thanks all! I put a line in /etc/rc.local and it worked!</p>
]]></description><link>http://community.onion.io/post/5264</link><guid isPermaLink="true">http://community.onion.io/post/5264</guid><dc:creator><![CDATA[Dave Abouav]]></dc:creator><pubDate>Sun, 01 May 2016 20:27:39 GMT</pubDate></item><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Mon, 02 May 2016 19:18:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1315">@Dave-Abouav</a> glad to hear that!<br />
Can you please add [RESOLVED] to the post title?</p>
]]></description><link>http://community.onion.io/post/5309</link><guid isPermaLink="true">http://community.onion.io/post/5309</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Mon, 02 May 2016 19:18:52 GMT</pubDate></item><item><title><![CDATA[Reply to [RESOLVED] @reboot doesn&#x27;t seem to work in cron on Sat, 22 Oct 2016 13:46:20 GMT]]></title><description><![CDATA[<p dir="auto">FYI, if you want to start a process to run on startup <em>and continue running</em>, then you can add it to <code>/etc/rc.local</code>, but that'll keep <code>rc.local</code> running until your process finishes (never, possibly)</p>
<p dir="auto">Instead, you can use <code>start-stop-daemon</code>:</p>
<pre><code>start-stop-daemon -S -b -x /root/project/project-script
</code></pre>
<p dir="auto">You'll need to make sure your script is executable, too.  The <code>-b</code> puts the process in the background so it won't hold up execution of the rest of <code>rc.local</code>.</p>
]]></description><link>http://community.onion.io/post/6944</link><guid isPermaLink="true">http://community.onion.io/post/6944</guid><dc:creator><![CDATA[Tom Gidden]]></dc:creator><pubDate>Sat, 22 Oct 2016 13:46:20 GMT</pubDate></item></channel></rss>