随笔-204  评论-90  文章-8  trackbacks-0

1. crontab -l 

10   4  * * * /home/jboss/statistics/daystat.sh
20   4  * * * /home/jboss/statistics/cndaystat.sh
30   4  * * * /home/jboss/statistics/cndaystatforaccount.sh
30   4   1  * * /home/jboss/statistics/monthstat.sh
40   4   1  * * /home/jboss/statistics/cnmonthstat.sh
50   4   1  * * /home/jboss/statistics/cnmonthstatforaccount.sh

2. vi daystat.sh

java -classpath /home/jboss/statistics/daystat.jar:/home/jboss/statistics/daystat/spring.jar:/home/jboss/statistics/daystat/commons-logging.jar:/home/jboss/statistics/daystat/commons-dbcp-1.2.1.jar:/home/jboss/statistics/daystat/commons-collections-3.1.jar:/home/jboss/statistics/daystat/commons-pool-1.2.jar:/home/jboss/statistics/daystat/log4j-1.2.8.jar:/home/jboss/statistics/daystat/ojdbc14.jar:. com.chinacars.wapstatistics.bo.DayStatistics
posted on 2006-08-08 17:34 一凡 阅读(363) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: