When setting up crontab as long running, it consumes far to much cpu when idle (no tasks to execute).
The reason is the database is been queried continuously/non-stop in a loop for new tasks.
On my local machine (5%-8%):

On my local machine, Implementing an idle sleep (0% or 0,7% when checking)

Pull request incoming...