arm64 CLI does not work when started via cron

Options
XIII
XIII
Community Member

Somehow the (arm64) CLI (op run) on my ASUS router does not work when executing via cron, while it does work when I execute it manually on the command line (via SSH).

What might be causing this?


1Password Version: arm64 CLI 2.6.0
Extension Version: n/a
OS Version: Asuswrt-Merlin 386.7_1
Browser:_ n/a

Comments

  • XIII
    XIII
    Community Member
    Options

    Current hypothesis: environment variables OP_CONNECT_HOST and OP_CONNECT_TOKEN are not set?

    Once I’m able to SSH into my router again (after a reboot?) I will test this hypothesis.

  • XIII
    XIII
    Community Member
    Options

    Confirmed; problem solved!

  • Thank you for the feedback @XIII. This is potentially very helpful for other users!

This discussion has been closed.