[OZAPRS] Direwolf on RPi

Andrew Errington erringtona at gmail.com
Tue Jul 14 14:26:02 AEST 2020


I don't think that's the case. Any user can have a @reboot entry in
their crontab. The command will run with the privileges of that user.

Andrew

On 14/07/2020, vk2tv <vk2tv at exemail.com.au> wrote:
> Norm,
>
> 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.
>
> https://unix.stackexchange.com/questions/109804/crontabs-reboot-only-works-for-root
>
> Ray vk2tv
>
> On 14/7/20 1:27 pm, Norm McMillan wrote:
>>
>> Good afternoon and welcome to my nightmare
>>
>> Running the latest Raspberry Pi OS Lite 32 bit –previously  known as
>> Raspbian Buster - on a Pi 3B+. Trying to auto-start direwolf at reboot.
>> Wrote a cron job in nano using crontab –e
>>
>>
>>
>> @reboot /usr/bin/rtl_fm –f 145.175M - | direwolf –c sdr.conf –r 24000 –D –
>>
>>
>>
>> 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.
>>
>> So what have I done wrong, or not done right? 🤔
>>
>>
>> norm vk3xci
>>
>>
>> _______________________________________________
>> OZAPRS mailing list
>> OZAPRS at aprs.net.au
>> http://lists.aprs.net.au/mailman/listinfo/ozaprs
>
>
>


More information about the OZAPRS mailing list