alseambusher / crontab-ui

Easy and safe way to manage your crontab file
https://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html
MIT License
2.84k stars 475 forks source link

Fix log dir error on docker if not created #215

Closed rodriciru closed 1 year ago

rodriciru commented 1 year ago

On Docker, if you mount logs and db dir from host, and logs folder doesn't exist, cron task cant create the log dir, so you won't be able to read them at the folder expected. This PR checks if the log dir exists and if not it makes a new one.