~ubuntu-branches/ubuntu/karmic/otrs2/karmic

« back to all changes in this revision

Viewing changes to patches/cron-debian.diff

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2006-07-09 22:21:49 UTC
  • Revision ID: package-import@ubuntu.com-20060709222149-vev9hij88c4sb8yh
Tags: 2.0.4p01-7
* switched to mergeWithUpstream mode of svn-buildpackage
* switched to quilt for managing upstream changes
* lintian fixes
* don't move the Output directory from /usr/share/otrs/ to /etc/otrs
* removed bashism
* fixed permissions of *.pm and *.png files
* other minor cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: otrs2-2.0.4p01/var/cron/aaa_base.dist
 
2
===================================================================
 
3
--- otrs2-2.0.4p01.orig/var/cron/aaa_base.dist  2006-06-26 07:32:09.000000000 +0200
 
4
+++ otrs2-2.0.4p01/var/cron/aaa_base.dist       2006-06-26 07:27:34.000000000 +0200
 
5
@@ -6,5 +6,5 @@
 
6
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
7
 # --
 
8
 # Who gets the cron emails?
 
9
-MAILTO="root@localhost"
 
10
+#MAILTO="root@localhost"
 
11
 
 
12
Index: otrs2-2.0.4p01/var/cron/session.dist
 
13
===================================================================
 
14
--- otrs2-2.0.4p01.orig/var/cron/session.dist   2006-06-26 07:34:11.000000000 +0200
 
15
+++ otrs2-2.0.4p01/var/cron/session.dist        2006-06-26 07:27:34.000000000 +0200
 
16
@@ -6,5 +6,5 @@
 
17
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
18
 # --
 
19
 # delete every 120 minutes old/idle session ids
 
20
-55 */2 * * * test -x $HOME/bin/DeleteSessionIDs.pl && $HOME/bin/DeleteSessionIDs.pl --expired >> /dev/null
 
21
+55 */2 * * * otrs test -x $HOME/bin/DeleteSessionIDs.pl && $HOME/bin/DeleteSessionIDs.pl --expired >> /dev/null
 
22
 
 
23
Index: otrs2-2.0.4p01/var/cron/rebuild_ticket_index.dist
 
24
===================================================================
 
25
--- otrs2-2.0.4p01.orig/var/cron/rebuild_ticket_index.dist      2006-06-26 07:34:04.000000000 +0200
 
26
+++ otrs2-2.0.4p01/var/cron/rebuild_ticket_index.dist   2006-06-26 07:27:34.000000000 +0200
 
27
@@ -6,5 +6,5 @@
 
28
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
29
 # --
 
30
 # just every day 
 
31
-01 01 * * * test -x $HOME/bin/RebuildTicketIndex.pl && $HOME/bin/RebuildTicketIndex.pl >> /dev/null
 
32
+01 01 * * * otrs test -x $HOME/bin/RebuildTicketIndex.pl && $HOME/bin/RebuildTicketIndex.pl >> /dev/null
 
33
 
 
34
Index: otrs2-2.0.4p01/var/cron/postmaster_pop3.dist
 
35
===================================================================
 
36
--- otrs2-2.0.4p01.orig/var/cron/postmaster_pop3.dist   2006-06-26 07:33:58.000000000 +0200
 
37
+++ otrs2-2.0.4p01/var/cron/postmaster_pop3.dist        2006-06-26 07:27:34.000000000 +0200
 
38
@@ -7,4 +7,4 @@
 
39
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
40
 # --
 
41
 # fetch emails every 10 minutes 
 
42
-*/10 * * * * test -x $HOME/bin/PostMasterPOP3.pl && $HOME/bin/PostMasterPOP3.pl >> /dev/null
 
43
+*/10 * * * * otrs test -x $HOME/bin/PostMasterPOP3.pl && $HOME/bin/PostMasterPOP3.pl >> /dev/null
 
44
Index: otrs2-2.0.4p01/var/cron/postmaster.dist
 
45
===================================================================
 
46
--- otrs2-2.0.4p01.orig/var/cron/postmaster.dist        2006-06-26 07:33:52.000000000 +0200
 
47
+++ otrs2-2.0.4p01/var/cron/postmaster.dist     2006-06-26 07:27:34.000000000 +0200
 
48
@@ -8,4 +8,4 @@
 
49
 # --
 
50
 # check daily the spool directory of OTRS 
 
51
 #10 0 * * * * test -e /etc/init.d/otrs && /etc/init.d/otrs cleanup >> /dev/null; test -e /etc/rc.d/init.d/otrs && /etc/rc.d/init.d/otrs cleanup >> /dev/null
 
52
-10 0 * * * test -x $HOME/bin/otrs.cleanup && $HOME/bin/otrs.cleanup >> /dev/null
 
53
+10 0 * * * otrs test -x $HOME/bin/otrs.cleanup && $HOME/bin/otrs.cleanup >> /dev/null
 
54
Index: otrs2-2.0.4p01/var/cron/fetchmail.dist
 
55
===================================================================
 
56
--- otrs2-2.0.4p01.orig/var/cron/fetchmail.dist 2006-06-26 07:33:22.000000000 +0200
 
57
+++ otrs2-2.0.4p01/var/cron/fetchmail.dist      2006-06-26 07:27:34.000000000 +0200
 
58
@@ -6,6 +6,6 @@
 
59
 # This software comes with ABSOLUTELY NO WARRANTY.
 
60
 # --
 
61
 # fetch every 5 minutes emails via fetchmail
 
62
-#*/5 * * * * test -x /usr/bin/fetchmail && /usr/bin/fetchmail --fetchmailrc /etc/otrs/fetchmailrc -a >> /dev/null
 
63
-#*/5 * * * * test -x /usr/bin/fetchmail && /usr/bin/fetchmail --fetchmailrc /etc/otrs/fetchmailrc -a --ssl >> /dev/null
 
64
+#*/5 * * * * otrs test -x /usr/bin/fetchmail && /usr/bin/fetchmail --fetchmailrc /etc/otrs/fetchmailrc -a >> /dev/null
 
65
+#*/5 * * * * otrs test -x /usr/bin/fetchmail && /usr/bin/fetchmail --fetchmailrc /etc/otrs/fetchmailrc -a --ssl >> /dev/null
 
66
 
 
67
Index: otrs2-2.0.4p01/var/cron/generic_agent.dist
 
68
===================================================================
 
69
--- otrs2-2.0.4p01.orig/var/cron/generic_agent.dist     2006-06-26 07:33:38.000000000 +0200
 
70
+++ otrs2-2.0.4p01/var/cron/generic_agent.dist  2006-06-26 07:27:34.000000000 +0200
 
71
@@ -7,7 +7,7 @@
 
72
 # This software comes with ABSOLUTELY NO WARRANTY.
 
73
 # --
 
74
 # start generic agent every 20 minutes
 
75
-*/20 * * * * test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl >> /dev/null
 
76
+*/20 * * * * otrs test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl >> /dev/null
 
77
 # example to execute GenericAgent.pl on 23:00 with
 
78
 # Kernel::Config::GenericAgentMove job file
 
79
-#0 23 * * * test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
 
80
+#0 23 * * * otrs test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
 
81
Index: otrs2-2.0.4p01/var/cron/generic_agent-database.dist
 
82
===================================================================
 
83
--- otrs2-2.0.4p01.orig/var/cron/generic_agent-database.dist    2006-06-26 07:33:29.000000000 +0200
 
84
+++ otrs2-2.0.4p01/var/cron/generic_agent-database.dist 2006-06-26 07:27:34.000000000 +0200
 
85
@@ -7,4 +7,4 @@
 
86
 # This software comes with ABSOLUTELY NO WARRANTY.
 
87
 # --
 
88
 # start generic agent every 10 minutes
 
89
-*/10 * * * * test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl -c db >> /dev/null
 
90
+*/10 * * * * otrs test -x $HOME/bin/GenericAgent.pl && $HOME/bin/GenericAgent.pl -c db >> /dev/null
 
91
Index: otrs2-2.0.4p01/var/cron/unlock.dist
 
92
===================================================================
 
93
--- otrs2-2.0.4p01.orig/var/cron/unlock.dist    2006-06-26 07:34:17.000000000 +0200
 
94
+++ otrs2-2.0.4p01/var/cron/unlock.dist 2006-06-26 07:27:34.000000000 +0200
 
95
@@ -6,5 +6,5 @@
 
96
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
97
 # --
 
98
 # unlock every hour old locked tickets
 
99
-35 * * * * test -x $HOME/bin/UnlockTickets.pl && $HOME/bin/UnlockTickets.pl --timeout >> /dev/null
 
100
+35 * * * * otrs test -x $HOME/bin/UnlockTickets.pl && $HOME/bin/UnlockTickets.pl --timeout >> /dev/null
 
101
 
 
102
Index: otrs2-2.0.4p01/var/cron/pending_jobs.dist
 
103
===================================================================
 
104
--- otrs2-2.0.4p01.orig/var/cron/pending_jobs.dist      2006-06-26 07:33:45.000000000 +0200
 
105
+++ otrs2-2.0.4p01/var/cron/pending_jobs.dist   2006-06-26 07:27:34.000000000 +0200
 
106
@@ -7,4 +7,4 @@
 
107
 # This software comes with ABSOLUTELY NO WARRANTY. 
 
108
 # --
 
109
 # check every 120 min the pending jobs
 
110
-45 */2 * * * test -x $HOME/bin/PendingJobs.pl && $HOME/bin/PendingJobs.pl >> /dev/null
 
111
+45 */2 * * * otrs test -x $HOME/bin/PendingJobs.pl && $HOME/bin/PendingJobs.pl >> /dev/null