Setting up Cron Job #101
-
Hey, So I added the code to the crontab but it doesnt seem to do anything at all. Any way I can output the logs from what the cron is doing? Also I dont think I have my /path/to/python done properly, this is what I did for the cron below: */1 * * * * cd /Users/myuser/Downloads/crabada.py-master && python3 -m bin.looting.closeLoots (my wallet) i also tried: */1 * * * * cd /Users/myuser/Downloads/crabada.py-master && '/Applications/Python 3.10' -m bin.looting.closeLoots (my wallet) I am thinking that python3 path(should I make it to the python folder or to like a exact file for this path?) is wrong thats why its not working. Any input would help :). Everything else working like a charm, now just want to get it on the cron so it can go automatically, I am using a Mac btw |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thats not the correct python path. You need to get it using terminal. |
Beta Was this translation helpful? Give feedback.
Thats not the correct python path. You need to get it using terminal.