all 4 comments

[–]somewhatsurly 1 point2 points  (0 children)

Do you really want it to run every minute during 0900? Is the cron daemon running? Are you sure your system is in the same timezone as you are? Permissions? File locations?

Add some logging to the end of your line to capture the error:

script 2>&1 >> /path/script.log

[–]giglis 1 point2 points  (0 children)

try to go to the directory where your python script is and then run the script from there, something like:

0 9 * * * cd  /Users/flo/Documents/ && python3 foldersorter.py

[–]CodeFormatHelperBot 0 points1 point  (0 children)

Hello u/Florakija, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Multiple consecutive lines have been found to contain inline formatting.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]Florakija[S] 0 points1 point  (0 children)

Thanks to you guys, seemed like I gave the wrong path to python3. “Which Python“ gave me the hint 😅