Create "after" clause in scheduler