Schedule an alarm for a program when starting it