Django/Python How should this cronjob be executed -


I have created a simple dragon script which allows me to update the selected animal in front of the sites.

When I am in my SSH, I run it like this.

  cd / www / site / mydirectory python perform_daily_action.py   

How do I run it as a cronboze in my cron

I tried to

  30 09 * * * cd / www / site / mydirectory; Python perform_daily_action.py   

However this does not seem to work.

Suggestions?

Try using it instead

  30 09 * * * Python /www/site/mydirectory/perform_daily_action.py    

Comments