Skip to content

Cron container stops after starting on 1.0 images #132

Closed
@sorinsugar

Description

@sorinsugar

The cron container exists after starting.

Preconditions

  1. Use 1.0 docker images (or 1.1)

Steps to reproduce

  1. Run docker-compose up -d

Expected result

  1. Cron container starts and runs in the background

Actual result

  1. Cron container exits after some seconds
$ docker logs local_cron_1
Updating www uid and gid
Docker: uid = 1000, gid = 1000
Incumbent: user = www, group = www
Starting Mail Transport Agent (MTA): sendmail.
tail: cannot open '/var/log/cron.log' for reading: No such file or directory
tail: no files remaining

From what I can see, the lines CRON_LOG=/var/log/cron.log and touch $CRON_LOG were deleted in the 1.0 tags (and 1.1) docker-entrypoint.sh scripts.
Was there a reason for that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions