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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -