HELP REGARDING MY NODE APP

48 views
Skip to first unread message

aib...@gmail.com

unread,
Aug 16, 2014, 2:40:50 AM8/16/14
to nod...@googlegroups.com
Hello,
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 

Aria Stewart

unread,
Aug 16, 2014, 11:19:50 PM8/16/14
to nod...@googlegroups.com

On 16 Aug 2014, at 2:40, aib...@gmail.com wrote:

> Hello,
> 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

setTimeout until then or use the system cron or scheduler service. Beware of timezones and daylight savings time.

Aria

Cristian Wilgenhoff

unread,
Aug 16, 2014, 11:19:54 PM8/16/14
to nod...@googlegroups.com
Hi,

The following package will help you with the feature you want. Check it out:


Also, please remember to follow guidelines to ask questions. Something like this:


Thanks,
@wil_js

On Aug 16, 2014, at 3:40 AM, aib...@gmail.com wrote:

Hello,
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 

--
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 nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/0ba5c777-1dbf-460d-8390-23ebda03d349%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

// ravi

unread,
Aug 16, 2014, 11:19:54 PM8/16/14
to nod...@googlegroups.com
On Aug 16, 2014, at 2:40 AM, aib...@gmail.com 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


Reply all
Reply to author
Forward
0 new messages