Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Category ID changeable #709

Open
tigerduck42 opened this issue Jan 22, 2024 · 2 comments
Open

Make Category ID changeable #709

tigerduck42 opened this issue Jan 22, 2024 · 2 comments

Comments

@tigerduck42
Copy link

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

@jhuckaby
Copy link
Owner

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

@tigerduck42
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants