mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
job interface move
This commit is contained in:
@@ -358,7 +358,7 @@ class CronManager
|
||||
$obj->run($data, $job->get('targetId'), $job->get('targetType'));
|
||||
}
|
||||
|
||||
protected function runService(JonEntity $job)
|
||||
protected function runService(JobEntity $job)
|
||||
{
|
||||
$serviceName = $job->get('serviceName');
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
namespace Espo\Jobs;
|
||||
namespace Espo\Core\Jobs;
|
||||
|
||||
interface Job
|
||||
{
|
||||
@@ -27,7 +27,7 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
namespace Espo\Jobs;
|
||||
namespace Espo\Core\Jobs;
|
||||
|
||||
use Espo\Entities\ScheduledJob;
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace Espo\Jobs;
|
||||
use Espo\Core\{
|
||||
CronManager,
|
||||
Utils\Config,
|
||||
Jobs\Job,
|
||||
};
|
||||
|
||||
class ProcessJobQueueE0 implements Job
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace Espo\Jobs;
|
||||
use Espo\Core\{
|
||||
CronManager,
|
||||
Utils\Config,
|
||||
Jobs\Job,
|
||||
};
|
||||
|
||||
class ProcessJobQueueQ0 implements Job
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace Espo\Jobs;
|
||||
use Espo\Core\{
|
||||
CronManager,
|
||||
Utils\Config,
|
||||
Jobs\Job,
|
||||
};
|
||||
|
||||
class ProcessJobQueueQ1 implements Job
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace Espo\Jobs;
|
||||
|
||||
use \Espo\Core\Exceptions;
|
||||
use Espo\Core\Exceptions;
|
||||
|
||||
class ProcessWebhookQueue extends \Espo\Core\Jobs\Base
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace Espo\Jobs;
|
||||
|
||||
use \Espo\Core\Exceptions;
|
||||
use Espo\Core\Exceptions;
|
||||
|
||||
class SendEmailNotifications extends \Espo\Core\Jobs\Base
|
||||
{
|
||||
|
||||
@@ -35,10 +35,9 @@ use Espo\Core\{
|
||||
CronManager,
|
||||
ServiceFactory,
|
||||
ORM\EntityManager,
|
||||
Jobs\JobTargeted,
|
||||
};
|
||||
|
||||
use Espo\Jobs\JobTargeted;
|
||||
|
||||
use Espo\Entities\ScheduledJob;
|
||||
|
||||
class CheckEmailAccounts implements JobTargeted
|
||||
|
||||
@@ -35,10 +35,9 @@ use Espo\Core\{
|
||||
CronManager,
|
||||
ServiceFactory,
|
||||
ORM\EntityManager,
|
||||
Jobs\JobTargeted,
|
||||
};
|
||||
|
||||
use Espo\Jobs\JobTargeted;
|
||||
|
||||
use Espo\Entities\ScheduledJob;
|
||||
|
||||
class CheckInboundEmails implements JobTargeted
|
||||
|
||||
Reference in New Issue
Block a user