On Aug 16, 2014, at 2:40 AM, [email protected] wrote: > I want my node app to send emails daily at 10am , i know how to send emails , > but the only problem i am struck with is that how do i check time continously >
Don't check time continuously. If you are using *nix, use a facility like cron: https://en.wikipedia.org/wiki/Cron. If you are not on *nix, there are cron-like NodeJS modules that you can use, or there are probably equivalent mechanisms in your OS of choice. --ravi -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/E7D3E626-5ADC-4C08-BF92-D9B47A407363%40g8o.net. For more options, visit https://groups.google.com/d/optout.
