mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
20 lines
662 B
PHP
20 lines
662 B
PHP
<?php
|
|
$VTEP = VTEProperties::getInstance();
|
|
$VTEP->setProperty('modules.emails.save_unknown_contacts', true);
|
|
|
|
require_once('include/utils/CronUtils.php');
|
|
$CU = CronUtils::getInstance();
|
|
$cj = CronJob::getByName('MessagesSendOutOfOfficeReplies');
|
|
if (empty($cj)) {
|
|
$cj = new CronJob();
|
|
$cj->name = 'MessagesSendOutOfOfficeReplies';
|
|
$cj->active = 1;
|
|
$cj->singleRun = false;
|
|
$cj->fileName = 'cron/modules/Messages/SendOutOfOfficeReplies.service.php';
|
|
$cj->timeout = 300;
|
|
$cj->repeat = 60;
|
|
$cj->maxAttempts = 0;
|
|
$CU->insertCronJob($cj);
|
|
}
|
|
|
|
SDK::setLanguageEntries('Messages', 'LBL_OUT_OF_OFFICE', array('it_it'=>'Fuori ufficio','en_us'=>'Out of office')); |