arm64 CLI does not work when started via cron

XIIIXIII
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

  • XIIIXIII
    Community Member

    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.

  • XIIIXIII
    Community Member

    Confirmed; problem solved!

  • andi.t_1Pandi.t_1P

    Team Member

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

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file