Write a custom management command[1] and use cron[2] to call it every few minutes, once a day, or whenever you like.
Cron is far easier to use than the man page makes it out to look, by the way. [1] https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/ [2] http://manpages.debian.org/cgi-bin/man.cgi?query=crontab&sektion=5 (Debian man page) Cheers, James On Friday, September 18, 2015 at 8:00:34 AM UTC-7, Stan Rosenbaum wrote: > > > Hey All, > > So my team and I are trying to build a simple Status update app for our > group. > > We want to be able to send SMS text messages to our Django app and update > our database entries from the text messages. > > We have a library that pulls the data from our SMS service [Twilio], but I > am not sure where is the best place to create a function in a Django App > Structure that will poll that external service for update periodically. > > Any Suggestions? > > Stan > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aea8bb00-5c30-485c-af00-92ffba6dd17e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.