diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-08-14 12:49:52 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-08-14 12:49:52 -0700 |
commit | afed6387462fb38675f08a5840c632a405b01148 (patch) | |
tree | ee271bdfa3fccc896f6368f53d3491e6dc52ba14 | |
parent | b4be57727f8d712e6508744cb5db1e5f47479f9d (diff) |
add fulltexrt indexing to RT daily tasks
-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 01ea0b5dd..077f23cc6 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'} ) { |