forked from opendevops-cn/opendevops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodo_cron.sql
More file actions
88 lines (74 loc) · 4.1 KB
/
codo_cron.sql
File metadata and controls
88 lines (74 loc) · 4.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
-- MySQL dump 10.14 Distrib 5.5.60-MariaDB, for Linux (x86_64)
--
-- Host: 127.0.0.1 Database: codo_cron
-- ------------------------------------------------------
-- Server version 5.7.24
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Current Database: `codo_cron`
--
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `codo_cron` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci */;
USE `codo_cron`;
--
-- Table structure for table `apscheduler_jobs`
--
DROP TABLE IF EXISTS `apscheduler_jobs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `apscheduler_jobs` (
`id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`next_run_time` double DEFAULT NULL,
`job_state` blob NOT NULL,
PRIMARY KEY (`id`),
KEY `ix_apscheduler_jobs_next_run_time` (`next_run_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `apscheduler_jobs`
--
LOCK TABLES `apscheduler_jobs` WRITE;
/*!40000 ALTER TABLE `apscheduler_jobs` DISABLE KEYS */;
INSERT INTO `apscheduler_jobs` VALUES ('ls_test',NULL,'€•Ì\0\0\0\0\0\0}”(Œversion”KŒid”Œls_test”Œfunc”Œ\Zcron.applications:exec_cmd”Œtrigger”Œapscheduler.triggers.cron”ŒCronTrigger”“”)”}”(hKŒtimezone”Œpytz”Œ_p”“”(Œ\rAsia/Shanghai”MèqK\0ŒLMT”t”R”Œ\nstart_date”NŒend_date”NŒfields”]”(Œ apscheduler.triggers.cron.fields”Œ BaseField”“”)”}”(Œname”Œyear”Œ\nis_default”ˆŒexpressions”]”Œ%apscheduler.triggers.cron.expressions”Œ\rAllExpression”“”)”}”Œstep”NsbaubhŒ\nMonthField”“”)”}”(hŒmonth”h‰h ]”h$)”}”h\'NsbaubhŒDayOfMonthField”“”)”}”(hŒday”h‰h ]”h$)”}”h\'NsbaubhŒ WeekField”“”)”}”(hŒweek”hˆh ]”h$)”}”h\'NsbaubhŒDayOfWeekField”“”)”}”(hŒday_of_week”h‰h ]”h$)”}”h\'Nsbaubh\Z)”}”(hŒhour”h‰h ]”h\"ŒRangeExpression”“”)”}”(h\'NŒfirst”KŒlast”Kubaubh\Z)”}”(hŒminute”h‰h ]”h$)”}”h\'Ksbaubh\Z)”}”(hŒsecond”h‰h ]”hM)”}”(h\'NhPK\nhQK\nubaubeŒjitter”NubŒexecutor”Œdefault”Œargs”)Œkwargs”}”(Œcmd”Œ\nls -l /tmp”Œjob_id”huhŒexec_cmd”Œmisfire_grace_time”KŒcoalesce”ˆŒ\rmax_instances”KŒ\rnext_run_time”Nu.');
/*!40000 ALTER TABLE `apscheduler_jobs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cron_log`
--
DROP TABLE IF EXISTS `cron_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cron_log` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`job_id` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`task_cmd` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`task_log` text COLLATE utf8mb4_unicode_ci,
`exec_time` datetime DEFAULT NULL,
PRIMARY KEY (`log_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1336 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cron_log`
--
LOCK TABLES `cron_log` WRITE;
/*!40000 ALTER TABLE `cron_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `cron_log` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2019-01-17 11:08:24