-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Enable cron on Docker container/Enable automatic LDAP Imports on docker container. #5502
Comments
@delize you can install cronie and crontabs from the container and commit the changes as an interim solution |
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. |
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it. |
Please re-open this and prevent the stale tag for this. As this is an ongoing issue. We also ran into another problem where we would like to use a cron job to automate imports. I will be trying to test adding this to the main app shortly... but this could take some time. |
I'm not sure what you're asking for, @delize. The PR to add cron to docker was already merged and will be in the next release. |
ah, i was not aware. Nevermind then! I look forward to the next release! |
Did you ever get this working? If so, what command are you actually running inside the container to do the ldap sync? |
Server (please complete the following information):
Is your feature request related to a problem? Please describe.
Currently spinning up a docker image, cron is not installed on base image. This renders the ability to perform tasks like #4602 or #3962 not possible.
Describe the solution you'd like
Implement Cron into the docker container so that we can enable a cron script to run ldap imports automatically.
OR
Implement a configurable time interval that ldap imports occur.
Describe alternatives you've considered
Doing it manually, but this doesn't scale and isn't a good idea.
Additional context
I am not sure whether this should be a feature request or a bug, since it goes both ways.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: