I would do this by having the view exposed on a url like 127.0.0.1:8000/myview and having that called from cron via curl, a python script utilizing urllib.
On Fri, May 3, 2013 at 1:37 PM, Avnesh Shakya <avnesh.n...@gmail.com> wrote: > thanks but if i want to get a function called autometically, when i run > 127.0.0.1:8000/ which defined inside views.py. how is it possible. > > > On Fri, May 3, 2013 at 4:00 PM, Tom Evans <tevans...@googlemail.com>wrote: > >> On Fri, May 3, 2013 at 11:04 AM, Avnesh Shakya <avnesh.n...@gmail.com> >> wrote: >> > hi, please tell me. it's urgent. >> > >> >> "its urgent". >> >> Sorry, couldn't resist. As this seems to have nothing to do with >> django, and a lot to do with "apscheduler", perhaps you should ask the >> apscheduler folks instead? >> >> Cheers >> >> Tom >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To post to this group, send email to django-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.