projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svc_hardware: better error messages for bad hw_addr when not validating as a MAC...
[freeside.git]
/
FS
/
FS
/
Cron
/
rt_tasks.pm
diff --git
a/FS/FS/Cron/rt_tasks.pm
b/FS/FS/Cron/rt_tasks.pm
index
fd2a718
..
2148876
100644
(file)
--- a/
FS/FS/Cron/rt_tasks.pm
+++ b/
FS/FS/Cron/rt_tasks.pm
@@
-29,7
+29,11
@@
sub rt_daily {
# RT_External installations should have their own cron scripts for this
my $system = $FS::TicketSystem::system;
# RT_External installations should have their own cron scripts for this
my $system = $FS::TicketSystem::system;
- return if $system ne 'RT_Internal';
+ return if !defined($system) || $system ne 'RT_Internal';
+
+ system('/opt/rt3/sbin/rt-clean-sessions --older 1M --skip-user &');
+
+ system('/opt/rt3/sbin/rt-fulltext-indexer --quiet --limit 5400 &');
# if -d or -y is in use, bail out. There's no reliable way to tell RT
# to use an alternate system time.
# if -d or -y is in use, bail out. There's no reliable way to tell RT
# to use an alternate system time.