Skip to content

Cron does not work until re-edit crontab contents #193

@dobryakov

Description

@dobryakov

Hello.
I setup crontab inside container in Dockerfile by this way:

RUN cat /home/app/crontab.txt | crontab -u app -

I see my cron tasks inside container by run crontab -u app -l successfully.

But cron does not work until I run crontab -u app -e manually, change nothing, and save it again. After this inexplicable manipulation my crontasks begin to work successfully.

Why? I have my brain broken trying to understand. What's wrong? Please help.

Image version 0.9.22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions