View Single Post
Posts: 26 | Thanked: 2 times | Joined on Nov 2012
#281
Hello.

I copied your sample script verbatim and saved is plain text "wtc.sh" in a "/home/user/MyDocs/scripts" directory. Then I pointed Billboard to it via:

{script:/home/user/MyDocs/scripts/wtc.sh}

But nothing comes up except the {weekday} and {date} that I already have set a line above it.


Originally Posted by thp View Post
You can do this already now by creating a shell script that does, e.g.:

Code:
echo -n "Time in Vienna: "
TZ=Europe/Vienna date +"%F %H:%M"
echo -n "Time in Helsinki: "
TZ=Europe/Helsinki date +"%F %H:%M"
echo -n "Time in London: "
TZ=Europe/London date +"%F %H:%M"
Shell scripts can be integrated into Billboard with the {script:/path/to/your/script.sh} command.

A list of all timezones is available on Wikipedia.