Skip to content

Commit

Permalink
fix: /app/crons to /app-api/v1/crons (#137)
Browse files Browse the repository at this point in the history
docs: fix /app/crons to /app-api/v1/crons

Signed-off-by: shiipou <shiishii@nocturlab.fr>
  • Loading branch information
shiipou authored Nov 2, 2023
1 parent fad1e11 commit c9b54d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown/features/crons.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `* * * * *`.
Expand Down

0 comments on commit c9b54d8

Please sign in to comment.