If you want to do that with the same concept as described in the blog , you can use the extension
http://visualstudiogallery.msdn.microsoft.com/a4a4f042-ffd3-42f2-a689-290ec13011f8
Implement the abstract class AbstractScheduledTask eg
public class EmailTestTask : AbstractScheduledTask
then write your code inside the Execute method . you can call the static class like this to run EmailTestTask's Execute method after 10 min
ScheduleUtilityFactory.AddScheduleTaskToBatch(new EmailTestTask(DateTime.Now.AddMinutes(10), " RUN AFTER 10 MIN "));