I am creating one custom schedule component which will trigger one time daily and send the mail. I have created the component with the help of How to component and I am able to send the mail. There are two events. One is Hourly event and another is Daily event. I have given both the event and noticed that the mails are going hourly. But my requirement is different. So I had stopped the hourly event and only given the Daily event for 1 hour duration but then the mail was not going. Even I enabled the both event and given the DoEvent value as 12 in hourly event but still the mails are going hourly.
Could anyone tell me what should I do if I want to execute the event only one time a day?
Please also maintain the dofilter method for this requirement.
How about enhancing your component that it first check what was the last time of sending the email, and send it only if you passed 24 hrs?
This design might actually be even welcome - if your email contains something important, and the daily event from whatever reason is missed, you will wait just one more hour rather than one day to fix it.