Let's say I run a script with
at on Linux (example below) that I know is going to take several hours, or maybe even multiple days. I'm accustomed to
at sending an email with the output of the command once it completes, but what if I wanted to peek at the current output before it completes? Let's also assume I've already run the script and forgot to redirect the output using
tee or other similar methods and do not want to stop the script. Is there anyways to do this?
drew@anubis:~$ at now warning: commands will be executed using /bin/sh at> ./myscript.sh at> <EOT> job 3 at Sat Jan 7 09:31:00 2017