Cronicle
Cronicle copied to clipboard
Make Category ID changeable
Summary
we are running cronicle in more environments (development(docker), staging, production). Jobs are stored in the project repository together with the project code. When it comes to the deployment of the cronicle jobs via the provided API, we run into the issue , that the category Id is different on every server (environment).
Is it possible to make the catergory ID editable?
Your Setup
Operating system and version?
Ubuntu: 20.04
Node.js version?
v21.6.0
Cronicle software version?
Cronicle: 0.9.40
Are you using a multi-server setup, or just a single server?
Single-server
Are you using the filesystem as back-end storage, or S3/Couchbase?
Filesystem
There is no way to edit a category ID, but when first creating them, you can specify a custom ID by embedding it inside the category title using square brackets as a prefix like this:
[mycustomid] My Category Title
(This works for events too).
Perfect, thank you. That was the way I was looking for. :-)