Use Case: Birthday Congratulations
Sending a birthday congratulation to users needs many lines of codes for calculate birthday, daily database check for birthdays, daily scheduling, etc. now you can implement it using 3 lines of code.
Solution Using A TriggerUsing A Trigger, time is not a problem at all. forget everything about time and just write just a line of code to send email on a custom URL.
For example: http://example.com/admin/[email protected]
task function on your url
*validateRequest SEND Congratulate EMAIL TO [email protected]
At the page of signup, just add 1 line of code to create a task for user.
tag("type") = "birthdayEmail" ATrigger.doCreate("1year", "http://example.com/admin/sendBirthday?name=John&[email protected]", tags, -1, "2013-08-26T18:00:00Z")