Use inbuilt alarm functionality instead of script