I have followd the following links for running a cron job :
but all of these ways work if i run commands like:
or
python manage.py crontab add
or
python manage.py runcron
but i don't want to do cron jobs without django server running i mean i want to run django server and it automatically call a certain function by itself during running of server for example every (say) 5 minutes.