Text this: Mathematical aspects of scheduling and applications