You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not entirely sure why, but trying to use curl to grab a calendar from a public url doesn't work when running trough script-shell.
The script does work correctly when manually ssh'ing into the watch as ceres and run it using /home/ceres/script-shell/03_update-agenda.sh, showing the script itself is fine.
script-shell does work correctly for turning on and off the wi-fi, making me believe it's more likely something specific to this scenario than an issue with script-shell not being correctly build or installed.
The contents of 03_update-agenda.sh are as follows. Of course, with redacted links and calendar names.
Seems that when running the script trough script-shell, the curl fails for some reason returning the exit 1. However, I don't know what the difference is between running the script in script-shell (which breaks) and running it as after ssh'ing into the watch as ceres (which works).
Activity
bailuk commentedon Mar 29, 2026
If you change the line to
you will get more information