Hexaware Technologies interview question

Difference between scheduler and timer