cron inside erlang

Max Lapshin max.lapshin@REDACTED
Tue Apr 27 07:25:36 CEST 2010


Hi, I have a problem: I need to receive message each minute. Jitter
about 1 second is ok,
but I need a strict warranty, that there will be 86400 messages per day.

Thus I'm afraid that simple timer:send_interval can be not-monotonic,
because it can do following:

Pid ! Message
receive
after
  Timeout -> repeat
end

Will send_interval fit my needs, or I have to make own mechanism with
synchronization from wall_clock?


More information about the erlang-questions mailing list