Basic scheduling of tasks.