Add examples for periodic and sporadic tasks