[glpi/el6] missing file
Remi Collet
remi at fedoraproject.org
Sat Jun 11 05:33:16 UTC 2011
commit 22c04fb579d673792cdcd2ca26b920ef0658fc1c
Author: remi <fedora at famillecollet.com>
Date: Sat Jun 11 07:33:02 2011 +0200
missing file
glpi-cron.patch | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/glpi-cron.patch b/glpi-cron.patch
new file mode 100644
index 0000000..80c2136
--- /dev/null
+++ b/glpi-cron.patch
@@ -0,0 +1,24 @@
+diff -up install/update_0723_078.php.cron install/update_0723_078.php
+--- install/update_0723_078.php.cron 2010-06-15 19:21:06.749549193 +0200
++++ install/update_0723_078.php 2010-06-15 19:23:32.651892513 +0200
+@@ -2097,6 +2097,9 @@ function update0723to078($output='HTML')
+ ('Ticket','alertnotclosed','43200',NULL,'1','1','3','0','24','30',NULL,NULL,NULL)";
+ $DB->query($query) or die("0.78 populate glpi_crontasks" . $LANG['update'][90] . $DB->error());
+
++ // RPM provides a good system cron
++ $query = "UPDATE `glpi_crontasks` SET `mode`=2 WHERE `mode`=1";
++ $DB->query($query) or die("0.78 update glpi_crontasks (for RPM)" . $LANG['update'][90] . $DB->error());
+ }
+ $ADDTODISPLAYPREF['Crontask']=array(8,3,4,7);
+
+--- install/mysql/glpi-0.78.2-empty.sql.cron 2010-11-15 18:57:02.766598708 +0100
++++ install/mysql/glpi-0.78.2-empty.sql 2010-11-15 18:57:44.406719150 +0100
+@@ -910,6 +910,8 @@
+ INSERT INTO `glpi_crontasks` VALUES ('14','ReservationItem','reservation','3600',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
+ INSERT INTO `glpi_crontasks` VALUES ('15','Ticket','closeticket','43200',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
+ INSERT INTO `glpi_crontasks` VALUES ('16','Ticket','alertnotclosed','43200',NULL,'1','1','3','0','24','30',NULL,NULL,NULL);
++### RPM provides a good system cron
++UPDATE `glpi_crontasks` SET `mode`=2 WHERE `mode`=1;
+
+ ### Dump table glpi_devicecases
+
More information about the scm-commits
mailing list