/* Navicat MariaDB Data Transfer Source Server : archives Source Server Version : 100032 Source Host : 192.168.1.92:3307 Source Database : archives_xxl-job Target Server Type : MariaDB Target Server Version : 100032 File Encoding : 65001 Date: 2018-04-13 10:54:33 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_BLOB_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_BLOB_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_BLOB_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `BLOB_DATA` blob, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `XXL_JOB_QRTZ_BLOB_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `XXL_JOB_QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_BLOB_TRIGGERS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_CALENDARS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_CALENDARS`; CREATE TABLE `XXL_JOB_QRTZ_CALENDARS` ( `SCHED_NAME` varchar(120) NOT NULL, `CALENDAR_NAME` varchar(200) NOT NULL, `CALENDAR` blob NOT NULL, PRIMARY KEY (`SCHED_NAME`,`CALENDAR_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_CALENDARS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_CRON_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_CRON_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_CRON_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `CRON_EXPRESSION` varchar(200) NOT NULL, `TIME_ZONE_ID` varchar(80) DEFAULT NULL, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `XXL_JOB_QRTZ_CRON_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `XXL_JOB_QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_CRON_TRIGGERS -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_CRON_TRIGGERS` VALUES ('quartzScheduler', '1', '1', '* * * * 1/1 ? *', 'Asia/Shanghai'); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_FIRED_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_FIRED_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_FIRED_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `ENTRY_ID` varchar(95) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `INSTANCE_NAME` varchar(200) NOT NULL, `FIRED_TIME` bigint(13) NOT NULL, `SCHED_TIME` bigint(13) NOT NULL, `PRIORITY` int(11) NOT NULL, `STATE` varchar(16) NOT NULL, `JOB_NAME` varchar(200) DEFAULT NULL, `JOB_GROUP` varchar(200) DEFAULT NULL, `IS_NONCONCURRENT` varchar(1) DEFAULT NULL, `REQUESTS_RECOVERY` varchar(1) DEFAULT NULL, PRIMARY KEY (`SCHED_NAME`,`ENTRY_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_FIRED_TRIGGERS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_JOB_DETAILS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_JOB_DETAILS`; CREATE TABLE `XXL_JOB_QRTZ_JOB_DETAILS` ( `SCHED_NAME` varchar(120) NOT NULL, `JOB_NAME` varchar(200) NOT NULL, `JOB_GROUP` varchar(200) NOT NULL, `DESCRIPTION` varchar(250) DEFAULT NULL, `JOB_CLASS_NAME` varchar(250) NOT NULL, `IS_DURABLE` varchar(1) NOT NULL, `IS_NONCONCURRENT` varchar(1) NOT NULL, `IS_UPDATE_DATA` varchar(1) NOT NULL, `REQUESTS_RECOVERY` varchar(1) NOT NULL, `JOB_DATA` blob, PRIMARY KEY (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_JOB_DETAILS -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_JOB_DETAILS` VALUES ('quartzScheduler', '1', '1', null, 'com.xxl.job.admin.core.jobbean.RemoteHttpJobBean', '0', '0', '0', '0', 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787000737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F40000000000010770800000010000000007800); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_LOCKS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_LOCKS`; CREATE TABLE `XXL_JOB_QRTZ_LOCKS` ( `SCHED_NAME` varchar(120) NOT NULL, `LOCK_NAME` varchar(40) NOT NULL, PRIMARY KEY (`SCHED_NAME`,`LOCK_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_LOCKS -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_LOCKS` VALUES ('quartzScheduler', 'STATE_ACCESS'); INSERT INTO `XXL_JOB_QRTZ_LOCKS` VALUES ('quartzScheduler', 'TRIGGER_ACCESS'); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_PAUSED_TRIGGER_GRPS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_PAUSED_TRIGGER_GRPS`; CREATE TABLE `XXL_JOB_QRTZ_PAUSED_TRIGGER_GRPS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_PAUSED_TRIGGER_GRPS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_SCHEDULER_STATE -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_SCHEDULER_STATE`; CREATE TABLE `XXL_JOB_QRTZ_SCHEDULER_STATE` ( `SCHED_NAME` varchar(120) NOT NULL, `INSTANCE_NAME` varchar(200) NOT NULL, `LAST_CHECKIN_TIME` bigint(13) NOT NULL, `CHECKIN_INTERVAL` bigint(13) NOT NULL, PRIMARY KEY (`SCHED_NAME`,`INSTANCE_NAME`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_SCHEDULER_STATE -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_SCHEDULER_STATE` VALUES ('quartzScheduler', 'DESKTOP-6C9GD591523352158996', '1523448720719', '5000'); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_SIMPLE_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_SIMPLE_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_SIMPLE_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `REPEAT_COUNT` bigint(7) NOT NULL, `REPEAT_INTERVAL` bigint(12) NOT NULL, `TIMES_TRIGGERED` bigint(10) NOT NULL, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `XXL_JOB_QRTZ_SIMPLE_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `XXL_JOB_QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_SIMPLE_TRIGGERS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_SIMPROP_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_SIMPROP_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_SIMPROP_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `STR_PROP_1` varchar(512) DEFAULT NULL, `STR_PROP_2` varchar(512) DEFAULT NULL, `STR_PROP_3` varchar(512) DEFAULT NULL, `INT_PROP_1` int(11) DEFAULT NULL, `INT_PROP_2` int(11) DEFAULT NULL, `LONG_PROP_1` bigint(20) DEFAULT NULL, `LONG_PROP_2` bigint(20) DEFAULT NULL, `DEC_PROP_1` decimal(13,4) DEFAULT NULL, `DEC_PROP_2` decimal(13,4) DEFAULT NULL, `BOOL_PROP_1` varchar(1) DEFAULT NULL, `BOOL_PROP_2` varchar(1) DEFAULT NULL, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`), CONSTRAINT `XXL_JOB_QRTZ_SIMPROP_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `XXL_JOB_QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_SIMPROP_TRIGGERS -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGER_GROUP -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGER_GROUP`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_GROUP` ( `id` int(11) NOT NULL AUTO_INCREMENT, `app_name` varchar(64) NOT NULL COMMENT '执行器AppName', `title` varchar(12) NOT NULL COMMENT '执行器名称', `order` tinyint(4) NOT NULL DEFAULT '0' COMMENT '排序', `address_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '执行器地址类型:0=自动注册、1=手动录入', `address_list` varchar(512) DEFAULT NULL COMMENT '执行器地址列表,多地址逗号分隔', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGER_GROUP -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_TRIGGER_GROUP` VALUES ('1', 'xxl-job-sys', '示例执行器', '1', '0', '0.0.0.0:10001'); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGER_INFO -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGER_INFO`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_INFO` ( `id` int(11) NOT NULL AUTO_INCREMENT, `job_group` int(11) NOT NULL COMMENT '执行器主键ID', `job_cron` varchar(128) NOT NULL COMMENT '任务执行CRON', `job_desc` varchar(255) NOT NULL, `add_time` datetime DEFAULT NULL, `update_time` datetime DEFAULT NULL, `author` varchar(64) DEFAULT NULL COMMENT '作者', `alarm_email` varchar(255) DEFAULT NULL COMMENT '报警邮件', `executor_route_strategy` varchar(50) DEFAULT NULL COMMENT '执行器路由策略', `executor_handler` varchar(255) DEFAULT NULL COMMENT '执行器任务handler', `executor_param` varchar(512) DEFAULT NULL COMMENT '执行器任务参数', `executor_block_strategy` varchar(50) DEFAULT NULL COMMENT '阻塞处理策略', `executor_fail_strategy` varchar(50) DEFAULT NULL COMMENT '失败处理策略', `glue_type` varchar(50) NOT NULL COMMENT 'GLUE类型', `glue_source` text COMMENT 'GLUE源代码', `glue_remark` varchar(128) DEFAULT NULL COMMENT 'GLUE备注', `glue_updatetime` datetime DEFAULT NULL COMMENT 'GLUE更新时间', `child_jobid` varchar(255) DEFAULT NULL COMMENT '子任务ID,多个逗号分隔', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGER_INFO -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_TRIGGER_INFO` VALUES ('1', '1', '* * * * 1/1 ? *', 'xx', '2018-04-10 17:18:32', '2018-04-10 17:29:07', 'xx', '', 'FIRST', 'demoJobHandler', '', 'SERIAL_EXECUTION', 'FAIL_ALARM', 'BEAN', '', 'GLUE代码初始化', '2018-04-10 17:18:32', ''); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGER_LOG -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGER_LOG`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOG` ( `id` int(11) NOT NULL AUTO_INCREMENT, `job_group` int(11) NOT NULL COMMENT '执行器主键ID', `job_id` int(11) NOT NULL COMMENT '任务,主键ID', `glue_type` varchar(50) DEFAULT NULL COMMENT 'GLUE类型', `executor_address` varchar(255) DEFAULT NULL COMMENT '执行器地址,本次执行的地址', `executor_handler` varchar(255) DEFAULT NULL COMMENT '执行器任务handler', `executor_param` varchar(512) DEFAULT NULL COMMENT '执行器任务参数', `trigger_time` datetime DEFAULT NULL COMMENT '调度-时间', `trigger_code` int(11) NOT NULL COMMENT '调度-结果', `trigger_msg` varchar(2048) DEFAULT NULL COMMENT '调度-日志', `handle_time` datetime DEFAULT NULL COMMENT '执行-时间', `handle_code` int(11) NOT NULL COMMENT '执行-状态', `handle_msg` varchar(2048) DEFAULT NULL COMMENT '执行-日志', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=435 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGER_LOG -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_TRIGGER_LOG` VALUES ('433', '1', '1', 'BEAN', '0.0.0.0:10001', 'demoJobHandler', '', '2018-04-10 17:29:10', '200', '调度机器:192.168.1.204
执行器-注册方式:自动注册
执行器-地址列表:[0.0.0.0:10001]
路由策略:第一个
阻塞处理策略:单机串行
失败处理策略:失败告警

>>>>>>>>>>>触发调度<<<<<<<<<<<
触发调度:
address:0.0.0.0:10001
code:200
msg:null', '2018-04-10 17:31:24', '200', ''); INSERT INTO `XXL_JOB_QRTZ_TRIGGER_LOG` VALUES ('434', '1', '1', 'BEAN', '0.0.0.0:10001', 'demoJobHandler', '', '2018-04-10 17:32:07', '200', '调度机器:192.168.1.204
执行器-注册方式:自动注册
执行器-地址列表:[0.0.0.0:10001]
路由策略:第一个
阻塞处理策略:单机串行
失败处理策略:失败告警

>>>>>>>>>>>触发调度<<<<<<<<<<<
触发调度:
address:0.0.0.0:10001
code:200
msg:null', '2018-04-10 17:32:17', '200', ''); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGER_LOGGLUE -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGER_LOGGLUE`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_LOGGLUE` ( `id` int(11) NOT NULL AUTO_INCREMENT, `job_id` int(11) NOT NULL COMMENT '任务,主键ID', `glue_type` varchar(50) DEFAULT NULL COMMENT 'GLUE类型', `glue_source` text COMMENT 'GLUE源代码', `glue_remark` varchar(128) NOT NULL COMMENT 'GLUE备注', `add_time` timestamp NULL DEFAULT NULL, `update_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGER_LOGGLUE -- ---------------------------- -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGER_REGISTRY -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGER_REGISTRY`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGER_REGISTRY` ( `id` int(11) NOT NULL AUTO_INCREMENT, `registry_group` varchar(255) NOT NULL, `registry_key` varchar(255) NOT NULL, `registry_value` varchar(255) NOT NULL, `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGER_REGISTRY -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_TRIGGER_REGISTRY` VALUES ('3', 'EXECUTOR', 'xxl-job-sys', '0.0.0.0:10001', '2018-04-11 20:15:15'); -- ---------------------------- -- Table structure for XXL_JOB_QRTZ_TRIGGERS -- ---------------------------- DROP TABLE IF EXISTS `XXL_JOB_QRTZ_TRIGGERS`; CREATE TABLE `XXL_JOB_QRTZ_TRIGGERS` ( `SCHED_NAME` varchar(120) NOT NULL, `TRIGGER_NAME` varchar(200) NOT NULL, `TRIGGER_GROUP` varchar(200) NOT NULL, `JOB_NAME` varchar(200) NOT NULL, `JOB_GROUP` varchar(200) NOT NULL, `DESCRIPTION` varchar(250) DEFAULT NULL, `NEXT_FIRE_TIME` bigint(13) DEFAULT NULL, `PREV_FIRE_TIME` bigint(13) DEFAULT NULL, `PRIORITY` int(11) DEFAULT NULL, `TRIGGER_STATE` varchar(16) NOT NULL, `TRIGGER_TYPE` varchar(8) NOT NULL, `START_TIME` bigint(13) NOT NULL, `END_TIME` bigint(13) DEFAULT NULL, `CALENDAR_NAME` varchar(200) DEFAULT NULL, `MISFIRE_INSTR` smallint(2) DEFAULT NULL, `JOB_DATA` blob, PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`), KEY `SCHED_NAME` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`), CONSTRAINT `XXL_JOB_QRTZ_TRIGGERS_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) REFERENCES `XXL_JOB_QRTZ_JOB_DETAILS` (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- ---------------------------- -- Records of XXL_JOB_QRTZ_TRIGGERS -- ---------------------------- INSERT INTO `XXL_JOB_QRTZ_TRIGGERS` VALUES ('quartzScheduler', '1', '1', '1', '1', null, '1523352391000', '1523352390000', '5', 'PAUSED', 'CRON', '1523351695000', '0', null, '2', '');