I used a Perl helper to code this. It looks I am missing a character or something. I need to write the new text to the top of the text file.
open (LOGFILE, ">> complete.txt") ; # writes new to the bottom
$datetime = localtime ;
print LOGFILE "\n" ;
print LOGFILE $datetime\n" ;
print LOGFILE "$name\n" ;
print LOGFILE "Has completed the work\n" ;
close (LOGFILE) ;