Chris Norman
unread,Oct 14, 2015, 10:24:49 AM10/14/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi again,
I would like to set up a cron job to email the day's journeys to a
pre-defined set of email addresses, using the model I described in the
previous example.
I have it so I can type:
python manage.py shell
import journey_sender
This does everything.
Thing is, I would like to use the server's cron demon to do this, so I
can't work it in the way I just described. I tried using combinations of
pipe characters, but to no avail.
Is there some way I can programatically simulate the shell yielded by
manage.py? Or is there a smarter way of running the cron job from within
Django it's self?
Thanks in advance,