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 <gregory.r...@gmail.com>

>
> 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 like:  wget http://localhost/ProjectName/GenerateMonthlyReport/
>
> Then put some checks in the View to ensure it only run once a month.
>
> Greg
>
>
> On Feb 18, 10:36 am, Alfonso <allanhender...@gmail.com> 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 to do is on 1st of calendar Month
> > update the statement model with invoices that haven't been paid.
> >
> > I'm not sure how to make that 'fire' correctly without an admin doing
> > the legwork of adding a statement?
> >
> > Thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to