Skip to main content
XIII
Jul 24, 2022 4:07 PM UTC
Question

arm64 CLI does not work when started via cron

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

3 replies

XIII
XIIIAuthor
Jul 24, 2022 6:24 PM UTC

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
XIIIAuthor
Jul 24, 2022 9:59 PM UTC

Confirmed; problem solved!

1Password Employee
Jul 27, 2022 2:53 PM UTC

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