Create a scheduled task /cron job that does what you want.
This will get you started:
from django.core.management import setup_environ
import settings # If your script file is in the same directory as the
settings.py file
setup_environ(settings)
After that, import your models as usual and use
Hello.. it is very easy to make one standalone script with django..
Check this post:
http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
Martin.
2009/2/18 GRoby
>
> Alfonso,
>
> One way would be to create a View that performs all of the Report
> Generating Tasks. You could th
Alfonso,
One way would be to create a View that performs all of the Report
Generating Tasks. You could then use cron (or another task scheduler)
to run a command line browser that runs that view (using wget for
example).
So basically you would have a @monthly entry in cron that runs
something l
On Wed, Feb 18, 2009 at 10:36 AM, Alfonso wrote:
>
> Hi,
>
> I have a client who wants to generate an invoice statment
> automatically on the first of every month. I'm trying to work out how
> I might do that in Django. I have a simple statement model and a
> simple invoice model and all I want
Hi,
I have a client who wants to generate an invoice statment
automatically on the first of every month. I'm trying to work out how
I might do that in Django. I have a simple statement model and a
simple invoice model and all I want to do is on 1st of calendar Month
update the statement model w
5 matches
Mail list logo