Wrote the OptimalMessageTimeGeneratorApp