From c5a0e11f5a3b5c3027e42e119888dae7d152e8b2 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Thu, 22 Aug 2013 08:45:31 -0400
Subject: [PATCH] - Added sql table for new cron system, does not hurt if it is executed in stable, too.

---
 install/sql/ispconfig3.sql |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/install/sql/ispconfig3.sql b/install/sql/ispconfig3.sql
index 8d8b8c0..6c5429e 100644
--- a/install/sql/ispconfig3.sql
+++ b/install/sql/ispconfig3.sql
@@ -1428,6 +1428,21 @@
 
 -- --------------------------------------------------------
 
+--
+-- Table structure for table `sys_cron`
+--
+
+CREATE TABLE IF NOT EXISTS `sys_cron` (
+  `name` varchar(50) NOT NULL,
+  `last_run` datetime NULL DEFAULT NULL,
+  `next_run` datetime NULL DEFAULT NULL,
+  `running` tinyint(1) UNSIGNED NOT NULL DEFAULT '0',
+  PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+
+-- --------------------------------------------------------
+
 -- 
 -- Table structure for table  `sys_datalog`
 -- 

--
Gitblit v1.9.1