log-time, target-dir, sleep until tasks are completed