Created
August 5, 2012 20:02
-
-
Save ntotten/3266943 to your computer and use it in GitHub Desktop.
Simple Cron Task in Windows Azure Web Sites
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.get('/crontask', function(req, res) { | |
| var sender = new SendGrid.SendGrid('user','key'); | |
| sender.send({ | |
| to: '[email protected]', | |
| from: '[email protected]', | |
| subject: 'test mail', | |
| text: 'This is a sample email message.' | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment