I have a number of users who can create multiple triggers to call the function at specific time i.e. a user can set 5 different triggers to execute a function at different times. So, I want to create a function which runs on the schedule event set by user i.e. dynamically. Then at the scheduled time function will execute and send the mail or sms. Can somebody help me in deciding what is the best way to accomplish this, should i set a cron which executes every minute and check for any created trigger for evey user ?