Cronicle icon indicating copy to clipboard operation
Cronicle copied to clipboard

Make Category ID changeable

Open tigerduck42 opened this issue 1 year ago • 2 comments

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

tigerduck42 avatar Jan 22 '24 09:01 tigerduck42

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).

jhuckaby avatar Jan 22 '24 22:01 jhuckaby

Perfect, thank you. That was the way I was looking for. :-)

tigerduck42 avatar Jan 23 '24 09:01 tigerduck42