Take a look at TaskKit again, I used it one and it was not too painful:
But anyway this is Python, so just write your code as a module and you can either execute
the module directly from cron and then import the module into webware.
----- Original Message -----
From: "Ian Bicking" <ianb@...>
To: "Rolf Hanson" <rolf@...>
Sent: Monday, May 20, 2002 2:08 PM
Subject: Re: [Webware-discuss] easiest scheduled task?
> You could try something like making a servlet that does this, and then
> putting in a cron job that does something like
> "wget http://localhost/WK/EmailTask" at 4am. You can check that
> self.request().environ().get("REMOTE_ADDR") == "127.0.0.1" for security.
> On Mon, 2002-05-20 at 12:03, Rolf Hanson wrote:
> > Hi,
> > I need to schedule a task that selects a bunch of email addresses from a
> > database and then sends a specific email to them once a day, at 4 am. I
> > looked at TaskKit, and i'm not smart enough to figure out how it works,
> > and it looks like it might be overkill anyway, since I only am
> > scheduling 1 function.
> > The system I am most used to using, aolserver, all I did was:
> > ns_scheduleproc timeinterval procname
> > Is there anyway of doing this in webware so that it is that easy? I just
> > need to run mailExpiredUsers() once a day early in the morning.
> > Thanks,
> > Rolf
> > ps I started looking at python's built in "sched" just a moment ago
> > _______________________________________________________________
> > Hundreds of nodes, one monster rendering program.
> > Now that's a super model! Visit http://clustering.foundries.sf.net/
> > _______________________________________________
> > Webware-discuss mailing list
> > Webware-discuss@...
> > https://lists.sourceforge.net/lists/listinfo/webware-discuss
> Hundreds of nodes, one monster rendering program.
> Now that's a super model! Visit http://clustering.foundries.sf.net/
> Webware-discuss mailing list