I am sending the output from my script to a text file, and would like that file to become the log of each action my script has taken. I tried to use this for obtaining the time:
command executed. I need the
variable to return a NEW timestamp that is accurate for the second the variable is sent to the output file. Please help! Thanks.