- StartMapSubscription ⇒
void
Starts a cron job that runs every 30 seconds to check for updates on disasters, pins and drawing layers. If any updates are found, sends an email to all subscribers and updates the last sent email time for the disaster.
- emailBody(arr) ⇒
string
Returns an HTML formatted string that contains the body of an email.
Starts a cron job that runs every 30 seconds to check for updates on disasters, pins and drawing layers. If any updates are found, sends an email to all subscribers and updates the last sent email time for the disaster.
Returns an HTML formatted string that contains the body of an email.
Kind: global function
Returns: string
- - An HTML formatted string that contains the body of an email.
Param | Type | Description |
---|---|---|
arr | Array.<string> |
An array of strings that make up the body of an email. |