Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created July 11, 2010 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagda1/471396 to your computer and use it in GitHub Desktop.
Save dagda1/471396 to your computer and use it in GitHub Desktop.
task "Teach and Test Notification":
clients:
include @local
reminder_subject "You have been selected to take the $test test"
reminder_body """You have been selected to sit the $test on the $date<br/><br/>
The test details will be emailed to you on that date."""
subject "Your $test details"
body """You have been selected to take the $test test. You can take the test at the following url<br/><br/>
To access the test, please click on the link below:<br/><br/>
<a href="$url" target="_blank" title="$training course.">$training course.</a>.<br/><br/>
Alternatively paste the following link into the browser address bar:<br/><br/>
$url"""
action "Calendar.mvc.aspx/GetEvents('{0}','{1}')"
parameters:
list @date, @url
every 1.Days()
starting now
enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment