Since you have a trigger on the TASKS table anyway, why not attempting the wake-up in that trigger already? If the process is already running, the wake-up has nothing to do.
If you actually try to implement a scheduler that executes some tasks - independent of DB2, have a look at existing solutions. You could also regularly poll whether DB2 is running.