Crontab fails to execute Python script

前端 未结 3 938
孤城傲影
孤城傲影 2020-12-11 04:45

crontab fails to execute a Python script. The command line I am using to run the Python script is ok.

These are solutions I had tried:<

3条回答
  •  萌比男神i
    2020-12-11 05:47

    Check the permissions of the script. Make sure that it's executable by cron-- try chmod +x main.py.

提交回复
热议问题