Fix scheduling for low intervals for minion.

Also improve the logging so it is possible to debug why scheduled jobs
are not running.
Merge pull request #4103 from torhve/develop

Fix scheduling for low intervals for minion.