USE SYS_PRD_BND;
CREATE TABLE IF NOT EXISTS `CronJobs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Minute` int(11) NOT NULL DEFAULT -1,
  `Hour` int(11) NOT NULL DEFAULT -1,
  `DayOfMonth` int(11) NOT NULL DEFAULT -1,
  `Month` int(11) NOT NULL DEFAULT -1,
  `DayOfWeek` int(11) NOT NULL DEFAULT -1,
  `PhpCode` text DEFAULT NULL,
  `PyCode` text DEFAULT NULL,
  `LastUpdated` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `LastError` text DEFAULT NULL,
  PRIMARY KEY (`id`)
);
