Bug 1048353 - One time tasks need expiration date

Add management command and model method to close expired onetime attempts
When I tried it without the `\n` it didn't add a newline. The terminal prompt appeared immediately after my output on the same line.