Crontab not executing a Python script?

前端 未结 15 1573
囚心锁ツ
囚心锁ツ 2020-11-29 20:42

My python script is not running under my crontab.

I have placed this in the python script at the top:

#!/usr/bin/python

I hav

15条回答
  •  青春惊慌失措
    2020-11-29 21:07

    If you are using anaconda for python then the path to use will be :

    /home/username/anaconda3/bin/python test.py
    

提交回复
热议问题