[Lift] Re: Two how-to questions

2009-11-05 Thread Derek Chen-Becker
I'm not sure how much complexity you want, but Quartz might be good for #1: http://www.opensymphony.com/quartz/ Derek On Mon, Nov 2, 2009 at 12:40 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Could someone give me a quick code sample to get me started on each of the following? 1. A

[Lift] Re: Two how-to questions

2009-11-05 Thread Naftoli Gugenheim
Hi. Thanks for responding. I haven't looked it up, but I don't really need anything very specialized. I didn't mean that the time it runs each day has to be very precise. The point is just to back up the database daily. Should I use java.util.Timer.scheduleAtFixedRate?

[Lift] Re: Two how-to questions

2009-11-05 Thread Derek Chen-Becker
That would probably work in the simple case. Derek On Thu, Nov 5, 2009 at 3:19 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: Hi. Thanks for responding. I haven't looked it up, but I don't really need anything very specialized. I didn't mean that the time it runs each day has to be very

[Lift] Re: Two how-to questions

2009-11-02 Thread Jonathan Ferguson
The answer for two is add an email appender to your log4j configuration. Such as :: appender name=email class=org.apache.log4j.net.SMTPAppender param name=BufferSize value=512 / param name=SMTPHost value=127.0.0.1 / param name=From value=myser...@mydomain.com /