From 80a93a89639762f82c770d4e861cf1c61834bded Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 30 Jun 2025 11:54:16 +0200 Subject: [PATCH 1/2] docs(srv): add note on CRON triggers payload MTA-6189 --- .../how-to/add-trigger-to-a-container.mdx | 4 ++++ .../serverless-functions/how-to/add-trigger-to-a-function.mdx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx b/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx index 751a423658..09d8a2458f 100644 --- a/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx +++ b/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx @@ -92,6 +92,10 @@ Refer to the [permissions sets documentation](/iam/reference-content/permission- [CRON triggers](/serverless-containers/concepts/#cron-trigger) allow you to invoke your containers based on a recurring schedule. The CRON triggers for Serverless Containers use the **UTC** time zone. + +The arguments of a CRON trigger are injected in the body of the `POST` HTTP request. + + 1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays. 2. Click the relevant containers namespace. 3. Click the name of the container you want to manage. The container overview displays. diff --git a/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx b/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx index 8cbc1fb164..feaff93a8f 100644 --- a/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx +++ b/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx @@ -92,6 +92,10 @@ Scaleway [NATS subjects](/nats/quickstart/) are compatible with Serverless Funct [CRON triggers](/serverless-functions/concepts/#cron-trigger) allow you to invoke your functions based on a recurring schedule. The CRON triggers for Serverless Functions use the **UTC** time zone. + +The arguments of a CRON trigger are injected in the body of the `POST` HTTP request. + + 1. Click **Functions** in the **Serverless** section of the side menu. The functions page displays. 2. Click the relevant functions namespace. 3. Click the name of the function you want to manage. The function **Code** tab displays. From f9d05977e596d91e847483796dd5f80ddd1323e5 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 30 Jun 2025 14:22:43 +0200 Subject: [PATCH 2/2] docs(object): update --- .../serverless-containers/how-to/add-trigger-to-a-container.mdx | 2 +- pages/serverless-functions/how-to/add-trigger-to-a-function.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx b/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx index 09d8a2458f..a20383806a 100644 --- a/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx +++ b/pages/serverless-containers/how-to/add-trigger-to-a-container.mdx @@ -93,7 +93,7 @@ Refer to the [permissions sets documentation](/iam/reference-content/permission- [CRON triggers](/serverless-containers/concepts/#cron-trigger) allow you to invoke your containers based on a recurring schedule. The CRON triggers for Serverless Containers use the **UTC** time zone. -The arguments of a CRON trigger are injected in the body of the `POST` HTTP request. +The arguments of a CRON trigger are injected in the body of the `POST` HTTP request, and sent to the `/` endpoint. 1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays. diff --git a/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx b/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx index feaff93a8f..3233aa8e41 100644 --- a/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx +++ b/pages/serverless-functions/how-to/add-trigger-to-a-function.mdx @@ -93,7 +93,7 @@ Scaleway [NATS subjects](/nats/quickstart/) are compatible with Serverless Funct [CRON triggers](/serverless-functions/concepts/#cron-trigger) allow you to invoke your functions based on a recurring schedule. The CRON triggers for Serverless Functions use the **UTC** time zone. -The arguments of a CRON trigger are injected in the body of the `POST` HTTP request. +The arguments of a CRON trigger are injected in the body of the `POST` HTTP request, and sent to the `/` endpoint. 1. Click **Functions** in the **Serverless** section of the side menu. The functions page displays.