diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-08-14 12:49:46 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-08-14 12:49:46 -0700 |
commit | 892fd936fc50276635a35a4dcb6d9ff0510dddc4 (patch) | |
tree | 1c566d99c66c92d3e10063962aabe7c146ffc660 /FS/FS/Cron | |
parent | 41dce5ea5713d4c17d054d14824ed590f641ef7a (diff) |
add fulltexrt indexing to RT daily tasks
Diffstat (limited to 'FS/FS/Cron')
-rw-r--r-- | FS/FS/Cron/rt_tasks.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/Cron/rt_tasks.pm b/FS/FS/Cron/rt_tasks.pm index 01ea0b5..077f23c 100644 --- a/FS/FS/Cron/rt_tasks.pm +++ b/FS/FS/Cron/rt_tasks.pm @@ -31,6 +31,8 @@ sub rt_daily { my $system = $FS::TicketSystem::system; return if !defined($system) || $system ne 'RT_Internal'; + 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 ( $opt{'d'} or $opt{'y'} ) { |