When trying to add a scheduled script using at
on Ubuntu in Windows Subsystem for Linux (WSL 2) using the following command:
at now + 1 minute -f testat.sh
I recieved the following error:
Can't open /var/run/atd.pid to signal atd. No atd running?
This is due to the fact that the at
daemon is not running, to start the daemon use:
sudo /etc/init.d/atd start