Right... at is a batch program which will queue the process and run it at a future point in time. Redirecting NOW doesn't redirect the output later. (Redirection is a shell function). "at", however, will save the program's output to a file and email it to you. So check in Mail (or make sure email is properly setup for forwarding.) If you don't want email, then do this at the beginning of the script:
Code:
# ... initialization of your script
exec >$HOME/script-output.$$ 2>&1
# rest of your script
If you want to append to the same file everytime, do this instead:
Code:
# ... initialization of your script
exec >>$HOME/script-output.log 2>&1
# rest of your script