Fix two bugs.

  1. Interval unit is hour, not minute;
  2. Preserve log file in daemon mode.