-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Logs not written to file #41
Comments
Can you try with v0.6, see if that works. |
That doesn't work either. Docker compose:
Config.json
The volume is mapped correctly and I can see the |
Same problem: docker-compose: crontab01:
image: willfarrell/crontab:1.0.0
container_name: crontab01
# environment:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
# - ./env:/opt/env:ro
# - ./docker-compose-crontab/opt/crontab:/opt/crontab:rw
- ./docker-compose-crontab/opt/crontab/config.yml:/opt/crontab/config.yml:rw
# - ./crontab01-docker/var/log/crontab:/var/log/crontab:rw
restart: always
# healthcheck:
network_mode: none
# networks:
# command: config.yml redmine_plugin_recurring_task:
command: sh -c 'cd /home/redmine/redmine && RAILS_ENV=production bundle exec rake redmine_recurring_tasks:exec'
comment: redmine_plugin_recurring_task
container: redmine01
# project: docker-compose-redmine
schedule: '@every 1m' Logs
I tought i had a problem with volumes, but inside the container i still dont get any log: bash-5.0# pwd
/var/log/crontab
bash-5.0# cat jobs.log
bash-5.0# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Love this project, exactly what I needed. Got it mostly set up now but facing an issue with the jobs.log not getting written to and some strange errors in the logs.
Docker Compose File
config.yaml
Container Logs:
The text was updated successfully, but these errors were encountered: