Hi,
I'm having an issue dealing with env variable on a script that is supposed to run on always-on-task.
In this script i m using api key and secret that I registered in my virtual env.
The script runs just fine in the console but when i'm launching it to the always-on-task, it fails.
I use : workon snapbet && python3 -u /home/Snapbet/Bot/bot.py
It works though when I hard code the key and secret in my code, which is clearly not ideal.
Is there a fix for that ?
Thank you !