I have a simple Python script and I want it to be runned in every minute periodically with crontab. When I run the script from command line like;
python3 /path/to/file/script.py
it works properly.
I editted the crontab with crontab -e command:
* * * * * python3 /path/to/file/script.py
However it doesn't work and occurs an error on main:
/Library/Developer/CommandLineTools/usr/bin/python3: can't open file '/Users/admin/Desktop/vue-exercises/startupfon-backend/startupfon/backend/scripts/test.py': [Errno 1] Operation not permitted
Additionally I've tried to pass python like /usr/bin/python3 to crontab, the result remains same.