Forums

Virtual Environment and Variable in Schedule Task

Hello,

I'm trying to start the schedule on my Python script. I've tried initializing the Virtual Environment and launching the main.py script.

workon RamcoBatchUpdate-JCbyh1H- && chmod +x ~/Projects/'New RAMCO DBPR'/RamcoBatchUpdate/main.py

I also added the postscript when initializing the environment. But I get a file does not exist message, even though the file does exist. . set -a; source /home/gtradmin/Projects/'New Ramco DBPR'/RamcoBatchUpdate/.env; set +a

None of the scripts seem to be working. Please advise.

You can debug your task command by running it in the console.