Skip to content

Crontab for cert renewal does not work #27

@BenjaminPelletier

Description

@BenjaminPelletier

The crontab entry created by deploy_tool for prod is:

0 */12 * * * python3 /rw/app/deploy_tool.py prod renew_certs >> /rw/mount/cert_renewals.log 2>&1

However, the cert_renewals.log is filled with:

2023-05-18T00:00:01.874321 Starting cert renewal check...
2023-05-18T00:00:01.874438   RUN git log -n 1
fatal: not a git repository (or any of the parent directories): .git

ERROR: Return code 128

Probably the working folder needs to be changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions