摘要:
首先实现单独能够备份db的java程序,思路是执行动态把要执行的批处理命令写入1个bat文件中,然后调用java程序执行这个批处理执行语句:mysqldump -u root -p123456 sshweb >E:\mysql_backup\2013-1-3_15_29_00.sql1.配置文件jdbc.driverClassName= com.mysql.jdbc.Driver
jdbc.url= jdbc:mysql://localhost:3306/sshweb?useUnicode=true&characterEncoding=utf-8
jdbc.username=ro 阅读全文
随笔分类 - 开源包-quartz定时器
Quartz集成spring开发大全
2012-12-24 12:51 by eoeAndroid社区, 299 阅读, 收藏,
摘要:
一.固定xml调用quartz准备工作:1.导入quartz-1.x.x.x.jar到lib,可能还需要lib/sh4j-api-1.x.x.jar,log4g,sh4j.api,1,x,x,jar,sh4j.nop,1,x,x,jar2.在src目录下创建quartz.properties(压缩quartz-1.x.x.x.jar下的org/quarz下可得)# 配置主调度器属性
org.quartz.scheduler.instanceName = DefaultQuartzScheduler
org.quartz.scheduler.rmi.export = false
org.quar 阅读全文
浙公网安备 33010602011771号