Improve logging output.
Reset job if it was skipped due to the condition.

Also, log the result of the condition command.
Avoid possible encoding errors.
Save the next run in the state instead of the last run.