Skip to content

HC_API_URL env variable doesn't work as expected #26

@rwjack

Description

@rwjack

Method 1 - Works:

runitor -api-url="https://example.com/ping" -uuid 123-abc-456-def -- echo test

Method 2 - Works:

HC_API_URL="https://example.com/ping" runitor -uuid 123-abc-456-def -- echo test

Method 3 - Doesn't work:

HC_API_URL="https://example.com/ping"
runitor -uuid 123-abc-456-def -- echo test
runitor -uuid 789-ghi-012-jkl -- echo test2

Tested all sorts of combinations, can't get cron to execute method 3, which is the cleanest one for having multiple jobs, but only if I could set the HC_API_URL variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions