+ Start a Discussion

alerts every 1 hr using apex

I have a requirement where I have date field on teh case object and whenever  date passes the current date , an email has to go every hour to the case owner  till the owner sets the date to a future date or closes the case. Can this done be using triggers ? If yes please suggest how do we do this ?


You may be able to do this (emphasis on the may, as I haven't tried this) is via scheduled apex that is initially scheduled from a trigger.  It would need to be able to unschedule itself, which isn't something I've done I'm afraid. 


thanks Bob ..I was able to figure it out