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 > [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
