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

/etc/yacron.d is missing #72

Closed
andreas-wittig opened this issue Dec 17, 2022 · 4 comments
Closed

/etc/yacron.d is missing #72

andreas-wittig opened this issue Dec 17, 2022 · 4 comments

Comments

@andreas-wittig
Copy link
Contributor

  • Yet Another Cron version: yacron-0.17.0-x86_64-unknown-linux-gnu
  • Python version:
  • Operating System: Docker, Ubuntu-20

Description

If the yacron-0.17.0-x86_64-unknown-linux-gnu is run without any option it returns:
"ERROR:yacron:Configuration error: [Errno 2] No such file or directory: '/etc/yacron.d'"

There ist no info at all about /etc/yacron.d. What is expected there resp. what can be done there?

What I Did

./yacron-0.17.0-x86_64-unknown-linux-gnu

@gjcarneiro
Copy link
Owner

By default, it expects /etc/yacron.d to be a directory containing one or more yacron config files.

If you have another config file path, use the -c option.

@andreas-wittig
Copy link
Contributor Author

Oh, thank you for the quick response.
My original approach was to search the term "yacron.d" in the docu - not any mention ... maybe that's worth a note.
Thank you again, merry christmas.

@gjcarneiro
Copy link
Owner

No, you're right. The very fact that you had to ask this question means there is a UI problem. Probably this means I need to improve that error message to explain this. That's why I am not closing this bug. Let's keep it open.

@gjcarneiro
Copy link
Owner

fixed in 0.18

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