1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-23 22:05:15 +02:00
Files
OpenIntegrations/docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Enable-requests-handler.mdx
Vitaly the Alpaca (bot) bca730ec7e Main build (Jenkins)
2025-11-13 11:29:07 +03:00

55 lines
1.3 KiB
Plaintext
Vendored

---
sidebar_position: 6
description: Enable scheduled task and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Enable scheduled task
Enables scheduled task by ID
`Function EnableRequestsHandler(Val Project, Val HandlersKey) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| TaskID | --task | String | ✔ | Task ID |
Returns: Structure Of KeyAndValue - Switching result
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh EnableRequestsHandler \
--proj "/proj.melezh" \
--handler "cead35dfd"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh EnableRequestsHandler ^
--proj "/proj.melezh" ^
--handler "cead35dfd"
```
</TabItem>
</Tabs>
```json title="Result"
{
"result": true
}
```