It seems like crond doesn't work
See original GitHub issueWhen I start following command there is effect - zipkin-dependency-yyyy-mm-dd
index at elasticsearch appears for a current day:
docker run -d --env STORAGE_TYPE=elasticsearch --env ES_HOSTS=elastichost --env ES_NODES_WAN_ONLY=true openzipkin/zipkin-dependencies
but when I start this command (based on your example) there is no any effect at all even if I waiting for a long time:
docker run -d --env STORAGE_TYPE=elasticsearch --env ES_HOSTS=elastichost --env ES_NODES_WAN_ONLY=true --entrypoint /usr/sbin/crond openzipkin/zipkin-dependencies -f
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Why is my crontab not working, and how can I troubleshoot it?
If your date is recently changed by a user or system update, timezone or other, then crontab will start behaving erratically and exhibit...
Read more >Top Reasons Your Cron Job Isn't Running - Airplane.dev
We'll walk through the most common reasons why your cron job isn't running: schedule errors, environmental changes, depleted resources, and ...
Read more >Why is my Crontab not working, and how can I ... - Linux Hint
The first and foremost one is that your Cron daemon might not be working for some reason which will consequently cause your Crontab...
Read more >Cron job troubleshooting guide - Cronitor
What to do if your cron job doesn't run when expected · Validate your job schedule. Once you have found your job, verify...
Read more >CronJob not running - Stack Overflow
Bear in mind that cron jobs do not run with all the environment that an interactive command would - for instance, when you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think there are several issues. What i had to do, to make cron tasks work:
Run docker container with user = root
Make Scripts in /etc/periodic/ executable. - Execute permissions where missing.
Add
cd /zipkin-dependencies
beforestart-zipkin-dependencies ...
in the cron scriptsHi, it seems like this issue is still open with 2.6.4: Zipkin-Dependencies Container startet with entrypoint “crontab -f -d 8”
gives me: