Hi,

you'd fix this by defining PATH variable in your crontab, or specify the full path to python3 interpreter instead using env.

M>

On 11/15/18 8:39 AM, Markus Rosjat wrote:
Hi all,

I have a python script to get some traffic stats from my machines and it is running without problems except for a new installed OpenBSD 6.4 machine. There I get following error:

env: python3: No such file or directory

This only happens when the cronjob is running when I run it from terminal with doas it works. That is kinda odd sice both root and my user have python3 and env in there $PATH at least the path to the executable.

some hints would be appreciated.

regards


Reply via email to