I am trying to write a csh script to execute the rsync command periodically.
But, I donot know how to capture the standard output and standard error. My ultimate goal is to capture this stdout and stderr and mail it to the user.
How can I accomplish this??
I tried to so something like this
But, I donot know how to capture the standard output and standard error. My ultimate goal is to capture this stdout and stderr and mail it to the user.
How can I accomplish this??
I tried to so something like this