/[smecontribs]/rpms/smeserver-kronolith/contribs8/smeserver-kronolith_reminders_agendas.patch
ViewVC logotype

Contents of /rpms/smeserver-kronolith/contribs8/smeserver-kronolith_reminders_agendas.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jul 8 15:01:07 2010 UTC (13 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-kronolith-2_2-13_el5_sme, smeserver-kronolith-2_2-14_el5_sme, HEAD
Import for sme8

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordeagendas mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordeagendas
2 --- smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordeagendas 1969-12-31 18:00:00.000000000 -0600
3 +++ mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordeagendas 2008-12-14 18:02:38.000000000 -0600
4 @@ -0,0 +1,21 @@
5 +{
6 + $OUT = '';
7 + my $agendas = $horde{agendas} || "disabled";
8 +
9 + $OUT .="# Horde - Daily Agenda Reminders\n";
10 + if (defined $agendas && $agendas eq 'enabled')
11 + {
12 +
13 + my $agendatime = $horde{agendatime} || "5";
14 + if ($agendatime <= "24")
15 + {
16 + $OUT .= "0 $agendatime * * * root /usr/bin/php -q /home/httpd/html/horde/kronolith/scripts/reminders.php";
17 + } else {
18 + $OUT .= "# disabled - horde daily agendatime value of $horde{agendatime} is greater than 24. Value needs to be 0 - 24\n";
19 + }
20 +
21 + } else {
22 + $OUT .= "# disabled\n";
23 + }
24 +}
25 +
26 diff -Nur -x '*.orig' -x '*.rej' smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordereminders mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordereminders
27 --- smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordereminders 2008-06-12 00:22:54.000000000 -0500
28 +++ mezzanine_patched_smeserver-kronolith-2.2/root/etc/e-smith/templates/etc/crontab/hordereminders 2008-12-14 18:04:45.000000000 -0600
29 @@ -1,3 +1,18 @@
30 -# Horde - Alarms
31 -*/5 * * * * root /usr/bin/php -q /home/httpd/html/horde/scripts/alarms.php
32 +{
33 + $OUT = '';
34 + my $hordeadministration = $horde{Administration} || "disabled";
35 + my $reminders = $horde{reminders} || "enabled";
36 +
37 + $OUT .="# Horde - Calendar Alarm Reminders\n";
38 + if (defined $hordeadministration && $hordeadministration eq 'enabled' &&
39 + $reminders eq 'enabled')
40 + {
41 +
42 + my $remindertime = $horde{remindertime} || "5";
43 +
44 + $OUT .="*/$remindertime * * * * root /usr/bin/php -q /home/httpd/html/horde/scripts/alarms.php";
45 + } else {
46 + $OUT .= "# disabled\n";
47 + }
48 +}
49

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed