o*a
5 楼
Timer has two drawback:
1 single thread, which means if two timertask overlap each other, it is
unpreditable behavior
2 if a timertask throws uncheck exception, It is uncaught by timer and timer
will silently cancel the future task.
【在 r**o 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 产生nightly report, 我打算就用java.util.Timer, TimerTask,
: 有别的好方法么?
1 single thread, which means if two timertask overlap each other, it is
unpreditable behavior
2 if a timertask throws uncheck exception, It is uncaught by timer and timer
will silently cancel the future task.
【在 r**o 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 产生nightly report, 我打算就用java.util.Timer, TimerTask,
: 有别的好方法么?
b*y
6 楼
Although a java fan, I use linux cron job most of the time.
相关阅读
basic java question一个socket相关的问题[转载] java VM for ipaq?anyone use org.gxos package?请推荐JAVA GUI开发工具用于UNIX。SUN Java 1.4.2还是 JAVA 好啊question: how to implement thishelp for appletviewer!ASP和java也不是互相排斥啊。急问:java如何处理中文字符[转载] 如何得到machine specific的信息[转载] JBuilder8只能装在rh上?Re: A new question Re: java thread questJDK Source?请问哪位大侠有B+ tree的java source code?how to multicast objects to clients in java?java 的资格认证考试It's open source!Re: COOL JAVA IDE[转载] Re: java thread problem