Save time of last run in tmp file