Threads and SchedulerCronTaskManager.

English! place to talk about OTRS development, programming and coding
Post Reply
edi
OTRS newbie
Posts: 17
Joined: 20 Nov 2018, 16:10
OTRS Version?: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Threads and SchedulerCronTaskManager.

Post by edi »

Hi!

I want to write a module for SchedulerCronTaskManager.
The module will process a large amount of data.
And since my task is well parallelized, I'd like to use threads to do it.
So, if I use threads in my module, will it work correctly when called through SchedulerCronTaskManager?

edi
OTRS newbie
Posts: 17
Joined: 20 Nov 2018, 16:10
OTRS Version?: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Re: Threads and SchedulerCronTaskManager.

Post by edi »

Well, it works like a charm!
In single mode, the program works for about 6 hours.
In multithreaded mode, the program works about 2 hours.

Post Reply