mbrugger / timetracking

Every good IT company has to write a time tracking application at least once ;)
MIT License
2 stars 0 forks source link

Cron jobs not working in docker hosted environment #25

Closed mbrugger closed 9 years ago

mbrugger commented 9 years ago

http://stackoverflow.com/questions/5271822/whenever-ruby-on-rails

mbrugger commented 9 years ago

The environment variables set during docker run are not available during cron job execution. As a workaround i add all necessary environment variables to /home/app/.bashrc during container startup. Should be fixed in the timetracking-docker repository