This commit is contained in:
Maxime Kohlhaas 2013-06-25 11:00:48 +02:00
parent af5db04824
commit 109d1a71cb

View File

@ -1,51 +1,51 @@
-- =================================================================== -- ===================================================================
-- Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net> -- Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
-- Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro> -- Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
-- --
-- This program is free software; you can redistribute it and/or modify -- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by -- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or -- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version. -- (at your option) any later version.
-- --
-- This program is distributed in the hope that it will be useful, -- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of -- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details. -- GNU General Public License for more details.
-- --
-- You should have received a copy of the GNU General Public License -- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>. -- along with this program. If not, see <http://www.gnu.org/licenses/>.
-- --
-- =================================================================== -- ===================================================================
CREATE TABLE llx_cronjob CREATE TABLE llx_cronjob
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp, tms timestamp,
datec datetime, datec datetime,
jobtype varchar(10) NOT NULL, jobtype varchar(10) NOT NULL,
label text NOT NULL, label text NOT NULL,
command varchar(255), command varchar(255),
classesname varchar(255), classesname varchar(255),
objectname varchar(255), objectname varchar(255),
methodename varchar(255), methodename varchar(255),
params text NOT NULL, params text NOT NULL,
md5params varchar(32), md5params varchar(32),
module_name varchar(255), module_name varchar(255),
priority integer DEFAULT 0, priority integer DEFAULT 0,
datelastrun datetime, datelastrun datetime,
datenextrun datetime, datenextrun datetime,
datestart datetime, datestart datetime,
dateend datetime, dateend datetime,
datelastresult datetime, datelastresult datetime,
lastresult text, lastresult text,
lastoutput text, lastoutput text,
unitfrequency integer NOT NULL DEFAULT 0, unitfrequency integer NOT NULL DEFAULT 0,
frequency integer NOT NULL DEFAULT 0, frequency integer NOT NULL DEFAULT 0,
nbrun integer, nbrun integer,
status integer NOT NULL DEFAULT 1, status integer NOT NULL DEFAULT 1,
fk_user_author integer DEFAULT NULL, fk_user_author integer DEFAULT NULL,
fk_user_mod integer DEFAULT NULL, fk_user_mod integer DEFAULT NULL,
note text note text
)ENGINE=innodb; )ENGINE=innodb;