Update tasks/run.php

Added runall() to run any event in the queue