X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCron%2Frt_tasks.pm;h=077f23cc6c090fbec74c3efadd6a2d4ffd26338d;hb=c63641b613e227a220b432191fe0981a0337e2ef;hp=fd2a718d71533b709691ebf84c1d94a47fca9c01;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/FS/FS/Cron/rt_tasks.pm b/FS/FS/Cron/rt_tasks.pm index fd2a718d7..077f23cc6 100644 --- a/FS/FS/Cron/rt_tasks.pm +++ b/FS/FS/Cron/rt_tasks.pm @@ -29,7 +29,9 @@ sub rt_daily { # 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-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.