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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -