What to use to set up a schedule job.

22 views
Skip to first unread message

prateek sharma

unread,
May 18, 2013, 3:42:41 PM5/18/13
to rin...@googlegroups.com
Hi all,
I am planning to set up a schedule job which will run once a day, fetches records from multiple sources and saves it to local database.
In Ringo0.9 ringo/scheduler no more exists. What is the alternative for the same?

Thanks,
Pratz

Fabien Meghazi

unread,
May 18, 2013, 5:20:21 PM5/18/13
to rin...@googlegroups.com
On Sat, May 18, 2013 at 9:42 PM, prateek sharma <meprat...@gmail.com> wrote:
> In Ringo0.9 ringo/scheduler no more exists. What is the alternative for the
> same?

The methods of ringo scheduler v0.8 are still available, they've just
be moved to the global scope.

http://ringojs.org/api/v0.8/ringo/scheduler/

--
Fabien Meghazi

Website: http://www.amigrave.com
Email: a...@amigrave.com
IM: amig...@gmail.com

prateek sharma

unread,
May 18, 2013, 5:24:34 PM5/18/13
to rin...@googlegroups.com
Oh gr8.

Thanks,
Pratz



--
You received this message because you are subscribed to the Google Groups "RingoJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ringojs+u...@googlegroups.com.
To post to this group, send email to rin...@googlegroups.com.
Visit this group at http://groups.google.com/group/ringojs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



Philipp Naderer

unread,
May 19, 2013, 12:55:06 PM5/19/13
to rin...@googlegroups.com
Another way: create a cronjob and call ringo. I am using this for Twitter bots, which collect data every 5 minutes and push them to Twitter. Then you don't have to care about scheduling.

Bye
Philipp

--

prateek sharma

unread,
May 20, 2013, 4:41:23 AM5/20/13
to rin...@googlegroups.com
Hey Philipp,
Thanks for the alternate solution. Actually I am new to both scheduling and cron job but will definitely give it a try.

Thanks,
Pratz
Reply all
Reply to author
Forward
0 new messages