Threads and SchedulerCronTaskManager.

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

Threads and SchedulerCronTaskManager.

Post by edi » 28 Oct 2019, 13:51

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: 14
Joined: 20 Nov 2018, 16:10
OTRS Version?: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Re: Threads and SchedulerCronTaskManager.

Post by edi » 05 Nov 2019, 15:31

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