This might be frowned upon,
but you can expose an api and call it every minute from a cron running on a
machine external to heroku.

Stew



On Mon, May 17, 2010 at 7:36 AM, Jim Jones <[email protected]> wrote:

> I'm new to Heroku and am trying to figure how I would accomplish the
> following?
>
> I've got an Events table that stores the date an event is to occur.
> I'd like to automatically send out an email to a user when that event
> is close (ie. 1 day away, 1 hour away, 15 minutes, etc).
>
> How would I do this with Heroku?  I was thinking I could have a cron
> job run every minute, that searches for events that are coming up, but
> it looks like I can only use hourly cron jobs, which would miss my 15
> minute requirement.
>
> Any thoughts?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to