adding the scheduled query runnable