cron - How to create a cronjob for a python script in cpanel? -



cron - How to create a cronjob for a python script in cpanel? -

i want run python script every on web hosting, using cpanel, looks like…

however, every single formatting , file path i've tried returns saying no such file exists, when in fact know sure does.

any help?

if means anything, i'm running on shared hosting namecheap.

your python script might missing permission execute, or missing shebang on first line interpreted python.

easy solution change:

somepath/check_crack.py

into:

python somepath/check_crack.py

or to:

/usr/bin/python somepath/check_crack.py

this way cron know, shall interpreted python , run it.

python cron

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -