added the possibility to the start_tm function to write
the stuff to a logfile when RUNCMD_TIME_LOG is exported.