python - Cronjob is working in my computer but not on the host server -


i have python program extracts data , saves in database

i using cron tab on local computer follows works fine!

15 20 * * * python /home/ahmed/dropbox/appflatforrent.py 

now using similar command on hostserver doesnt work

15 20 * * * python /home/appflatforrent.py 

when run python /home/appflatforrent.pyindependently, works (since getting values in host's database)

what wrong cronjob command? have tried doesnt work

/usr/bin/python /home/appflatforrent.py 


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -