<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Norm,<br>
<br>
Is that a user's crontab, or root's crontab? It seems that the
@reboot line must be run as root which suggests it needs to be in
root's crontab. <br>
<br>
<a
href="https://unix.stackexchange.com/questions/109804/crontabs-reboot-only-works-for-root">https://unix.stackexchange.com/questions/109804/crontabs-reboot-only-works-for-root</a><br>
<br>
Ray vk2tv<br>
<br>
<div class="moz-cite-prefix">On 14/7/20 1:27 pm, Norm McMillan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+dgg9pQA5Em32DgWGpH0DgRMd0Wj1YQsPvjjsPWCy8hSrUT1w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif"">Good afternoon and welcome to
my nightmare </p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif"">Running the latest Raspberry Pi
OS Lite 32 bit –previously <span> </span>known as Raspbian
Buster - on a Pi 3B+. Trying
to auto-start direwolf at reboot. Wrote a cron job in nano
using <span
style="font-size:10pt;font-family:Consolas;background:silver
none repeat scroll 0% 0%">crontab –e</span><span
style="font-size:10pt;font-family:Consolas"><span></span></span></p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif""><span
style="font-size:10pt;font-family:Consolas"><span> </span></span></p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif""><span
style="font-size:10pt;font-family:Consolas;background:silver
none repeat scroll 0% 0%">@reboot /usr/bin/rtl_fm –f
145.175M - |
direwolf –c sdr.conf –r 24000 –D –</span><span
style="font-size:10pt;font-family:Consolas"><span></span></span></p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif""><span
style="font-size:10pt;font-family:Consolas"><span> </span></span></p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif"">The file saved without error
and assured me that the new
crontab had been installed. Now at reboot, quick as a flash,
nothing happens.
No error message. Nada. Almost as if the cron job isn’t being
run... or read...
or something. I know the command line works, that’s how I’m
starting it at the
moment.</p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif"">So what have I done wrong, or
not done right? 🤔<br>
</p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif""><br>
</p>
<p class="MsoNormal" style="margin:5pt 0cm
0.0001pt;font-size:12pt;font-family:"Times New
Roman","serif"">norm vk3xci<br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
OZAPRS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OZAPRS@aprs.net.au">OZAPRS@aprs.net.au</a>
<a class="moz-txt-link-freetext" href="http://lists.aprs.net.au/mailman/listinfo/ozaprs">http://lists.aprs.net.au/mailman/listinfo/ozaprs</a>
</pre>
</blockquote>
<br>
</body>
</html>