@@ -16,7 +16,7 @@ function up()
16
16
`execution_count` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
17
17
`assigned_count` INT(11) UNSIGNED NOT NULL DEFAULT 0,
18
18
PRIMARY KEY (`task_id`)
19
- ) " );
19
+ ) ENGINE=MyISAM " );
20
20
21
21
DBManager::get ()->query ("CREATE TABLE IF NOT EXISTS `cronjobs_schedules` (
22
22
`schedule_id` CHAR(32) NOT NULL DEFAULT '',
@@ -40,7 +40,7 @@ function up()
40
40
`chdate` INT(11) UNSIGNED NOT NULL,
41
41
PRIMARY KEY (`schedule_id`),
42
42
KEY `task_id` (`task_id`)
43
- ) " );
43
+ ) ENGINE=MyISAM " );
44
44
45
45
DBManager::get ()->query ("CREATE TABLE IF NOT EXISTS `cronjobs_logs` (
46
46
`log_id` CHAR(32) NOT NULL DEFAULT '',
@@ -52,7 +52,7 @@ function up()
52
52
`duration` FLOAT NOT NULL,
53
53
PRIMARY KEY (`log_id`),
54
54
KEY `schedule_id` (`schedule_id`)
55
- ) " );
55
+ ) ENGINE=MyISAM " );
56
56
57
57
// Add config entries
58
58
$ query = "INSERT IGNORE INTO `config`
@@ -75,7 +75,7 @@ function up()
75
75
':type ' => 'integer ' ,
76
76
':description ' => 'Gibt an, nach wievielen Sekunden ein Cronjob als steckengeblieben angesehen wird ' ,
77
77
));
78
-
78
+
79
79
// Add default cron tasks and schedules
80
80
$ default_data = array (
81
81
array (
@@ -99,29 +99,29 @@ function up()
99
99
'hour ' => 1 ,
100
100
'minute ' => 7 ,
101
101
),
102
- array (
103
- 'filename ' => 'lib/cronjobs/check_admission.class.php ' ,
104
- 'class ' => 'CheckAdmissionJob ' ,
105
- 'priority ' => 'normal ' ,
106
- 'hour ' => null ,
107
- 'minute ' => -30 ,
102
+ array (
103
+ 'filename ' => 'lib/cronjobs/check_admission.class.php ' ,
104
+ 'class ' => 'CheckAdmissionJob ' ,
105
+ 'priority ' => 'normal ' ,
106
+ 'hour ' => null ,
107
+ 'minute ' => -30 ,
108
108
),
109
- array (
110
- 'filename ' => 'lib/cronjobs/garbage_collector.class.php ' ,
111
- 'class ' => 'GarbageCollectorJob ' ,
112
- 'priority ' => 'normal ' ,
113
- 'hour ' => 2 ,
114
- 'minute ' => 33 ,
109
+ array (
110
+ 'filename ' => 'lib/cronjobs/garbage_collector.class.php ' ,
111
+ 'class ' => 'GarbageCollectorJob ' ,
112
+ 'priority ' => 'normal ' ,
113
+ 'hour ' => 2 ,
114
+ 'minute ' => 33 ,
115
115
),
116
- array (
117
- 'filename ' => 'lib/cronjobs/session_gc.class.php ' ,
118
- 'class ' => 'SessionGcJob ' ,
119
- 'priority ' => 'normal ' ,
120
- 'hour ' => 3 ,
121
- 'minute ' => 13 ,
116
+ array (
117
+ 'filename ' => 'lib/cronjobs/session_gc.class.php ' ,
118
+ 'class ' => 'SessionGcJob ' ,
119
+ 'priority ' => 'normal ' ,
120
+ 'hour ' => 3 ,
121
+ 'minute ' => 13 ,
122
122
),
123
123
);
124
-
124
+
125
125
$ query = "INSERT IGNORE INTO `cronjobs_tasks`
126
126
(`task_id`, `filename`, `class`, `active`)
127
127
VALUES (:task_id, :filename, :class, 1) " ;
0 commit comments