I'm trying to setup a simple script to run on a cron job that runs in the background and notifies any open terminals of the outcome using the
wall command. However when testing, I don't get any output at all. I'm using WSL Ubuntu and zsh via the Terminal app from Microsoft.
w returns the below, while
who returns nothing at all.
hardya@GBH-HARDYA1 ~ tty /dev/pts/4 hardya@GBH-HARDYA1 ~ w 09:16:01 up 3 days, 4:30, 0 users, load average: 0.00, 0.00, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
wallusing the same behind the scenes info as
who, it might be that it's fundamentally incompatible with WSL at the moment