From c9b54d87096651fb66f54e005176d5326f32d63b Mon Sep 17 00:00:00 2001 From: Shiipou Date: Thu, 2 Nov 2023 22:09:26 +0100 Subject: [PATCH] fix: `/app/crons` to `/app-api/v1/crons` (#137) docs: fix /app/crons to /app-api/v1/crons Signed-off-by: shiipou --- src/markdown/features/crons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown/features/crons.md b/src/markdown/features/crons.md index dfaef39..ec25ece 100644 --- a/src/markdown/features/crons.md +++ b/src/markdown/features/crons.md @@ -2,7 +2,7 @@ Crons on Lenra are a way to schedule tasks to be executed at specific times. A c ## Creating a cron that runs each minute -To create a cron on Lenra, make a POST request to the `/app/crons` endpoint with the following required parameters: +To create a cron on Lenra, make a POST request to the `/app-api/v1/crons` endpoint with the following required parameters: - `listener_name`: a string corresponding to the name of the listener on the application. - `schedule`: a string corresponding to the cron 5 star format `* * * * *`.