Acuiti Labs interview question

How will you handle task scheduler in java