Wasted the entire day trying to schedule a task in my Penguin terminal. Cron won’t log anything no matter how I set the permissions. I just realized that maybe I need to install the dependencies of the script in my virtual environment but I have a feeling after that it still won’t work because the logs are just blank. I don’t know what the hell I’m doing wrong. Why is scheduling a script more difficult than writing a script? I tried monit and it’s a crap show. Full disclosure I am working with ChatGPT but I wrote my entire script that way and it works when I run it manually. Any help would be much appreciated, it might help if you start by asking questions but here’s my Cron entry:
25 22 * * * /bin/bash -c 'source /home/johnfpederson/newenv/bin/activate && /home/johnfpederson/newenv/bin/python /home/>
1 post - 1 participant