Skip to content

Commit da242cb

Browse files
authored
Merge pull request #3022 from 1c-syntax/translations_docs-diagnostics-scheduledjobhandler-md--develop_en
Translate 'docs/diagnostics/ScheduledJobHandler.md' in 'en'
2 parents 4753d86 + a52a97a commit da242cb

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

docs/en/diagnostics/ScheduledJobHandler.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
<!-- Блоки выше заполняются автоматически, не трогать -->
44
## Description
55
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
6+
Certain requirements are imposed on the methods of scheduled job handlers.
7+
Any export procedure or function of a non-global common server module can be used as a scheduled job method. If the scheduled job method is a function, then its return value is ignored.
8+
9+
If the scheduled job is predefined, then its handler should not have parameters.
10+
Otherwise, the parameters of such a scheduled job can be any values ​​that are allowed to be sent to the server. The parameters of a scheduled job must exactly match the parameters of the procedure or function it calls.
11+
12+
Diagnostics checks the following signs of the correctness of the scheduled job handler method:
13+
- there is a common module and a shared module method specified as a handler
14+
- common module is server
15+
- the method is export
16+
- the method has no parameters if the scheduled job is predefined
17+
- method body is not empty
18+
- there are no other scheduled jobs that refer to the same handler method
619

720
## Examples
821
<!-- В данном разделе приводятся примеры, на которые диагностика срабатывает, а также можно привести пример, как можно исправить ситуацию -->
@@ -11,6 +24,8 @@
1124
<!-- Необходимо указывать ссылки на все источники, из которых почерпнута информация для создания диагностики -->
1225
<!-- Примеры источников
1326
14-
* Источник: [Стандарт: Тексты модулей](https://its.1c.ru/db/v8std#content:456:hdoc)
15-
* Полезная информация: [Отказ от использования модальных окон](https://its.1c.ru/db/metod8dev#content:5272:hdoc)
27+
* Source: [Standard: Modules (RU)](https://its.1c.ru/db/v8std#content:456:hdoc)
28+
* Useful information: [Refusal to use modal windows (RU)](https://its.1c.ru/db/metod8dev#content:5272:hdoc)
1629
* Источник: [Cognitive complexity, ver. 1.4](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) -->
30+
- [Set of articles "Scheduled job" - standard 1C (RU)](https://its.1c.ru/db/v8std#browse:13:-1:1:6)
31+
- [Article "Scheduled job" from the developer's guide 1C 8.3 (RU)](https://its.1c.ru/db/v8322doc#bookmark:dev:TI000000794)

0 commit comments

Comments
 (0)