Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1269

Python • Re: Python script calling VLC on startup fails

$
0
0
I was running into a similar issue but I was trying to play audio at scheduled times not particularly on start-up.

I could execute the script from the terminal and successfully play audio via an audio jack on a Raspberry PI 3b (OS Debian Bookwarm 2024-07-04). Still, when attempting to run it via crontab it wasn't working.

After reading these threads, I confirmed that the issue was due to the cron job executing in a different run time environment.

So I was able to follow the steps outlined here to get this task working for me: https://stackoverflow.com/questions/424 ... spberry-pi

Statistics: Posted by zawad — Mon Jul 15, 2024 1:28 am



Viewing all articles
Browse latest Browse all 1269

Trending Articles