You could use setInterval.

Like here for exampe:
https://github.com/michaelnisi/troubled-www/blob/master/updater.js

On Sat, Apr 6, 2013 at 2:37 AM, Daniel Rinehart <[email protected]> wrote:
> You might want to look at: https://github.com/mattpat/node-schedule
>
>
> -- Daniel R. <[email protected]> [http://danielr.neophi.com/]
>
>
> On Fri, Apr 5, 2013 at 9:15 AM, Jatin Patel <[email protected]> wrote:
>>
>> Essentially, it's a set of complex calculation that needs to be done every
>> 10 minutes. Every 10 minutes, it would go and check for specific info
>> (updated) in the db and then do the complex calculation.  I didn't wanted to
>> use setTimeout() as I thought it wasn't ideal way to handle this - something
>> like Quartz would be great.
>>
>> Thanks-
>>
>> On Thursday, April 4, 2013 11:30:35 PM UTC-4, psema4 wrote:
>>>
>>> On Thu, Apr 4, 2013 at 10:47 PM, Jatin Patel <[email protected]> wrote:
>>> > Hi, I'm looking for a simple way to create a job and then execute that
>>> > job
>>> > after some delay time.
>>>
>>> What kind of job?  If your job is essentially a function, there's
>>> setTimeout()
>>>
>>> --
>>>   Scott Elcomb
>>>   @psema4 on Twitter / Identi.ca / Github & more
>>>
>>>   Atomic OS: Self Contained Microsystems
>>>   http://code.google.com/p/atomos/
>>>
>>>   Member of the Pirate Party of Canada
>>>   http://www.pirateparty.ca/
>>
>> --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> 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 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/nodejs?hl=en?hl=en
>>
>> ---
>> 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].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 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/nodejs?hl=en?hl=en
>
> ---
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 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/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to