Skip to content

Add to the docs how to DRY on multiple crontab lines and use a shell script instead #100

Description

@alaznem

When setting up multiple lines in crontab, repeating $(command -v docker) run --rm --env-file=/home/bob/.bitcoin-dca ghcr.io/jorijn/bitcoin-dca:latest [arguments...] is annoying and error prone.

Proposed solution
I'd recommend to add to the Tips section of the docs file cron examples how to create a shell script file to reference in the crontab and pass the arguments from the crontab to this shellscript.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions