# Conditional periodically\_call\_remote

**URL:** <https://www.ruby-forum.com/t/conditional-periodically-call-remote/47579>\
**Category:** Rails\
**Created:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/conditional-periodically-call-remote/47579 "2005-11-12T12:49:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/53a042/32.png) [@cole](https://www.ruby-forum.com/u/cole)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/conditional-periodically-call-remote/47579/1 "2005-11-12T12:49:31Z")

</div>

Is there a way to only run periodically\_call\_remote when a condition is  
true? I essentially want the ability to start and top  
periodically\_call\_remote, based on a user initiated action.

Thanks,  
John

---

<div class="post-metadata">

**Author:** ![cole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/53a042/32.png) [@cole](https://www.ruby-forum.com/u/cole)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/conditional-periodically-call-remote/47579/2 "2005-11-12T12:49:33Z")

</div>

On Nov 9, 2005, at 9:45 AM, John Cole wrote:

> Is there a way to only run periodically\_call\_remote when a  
> condition is true? I essentially want the ability to start and top  
> periodically\_call\_remote, based on a user initiated action.
> 
> Thanks,  
> John

Hi John,

I don’t know how to accomplish this, but I’ve seen a lot of prototype  
and javascript gurus hanging out on the rails-spinoffs mailing list.  
Have you checked there?

Duane J.  
(canadaduane)

---

<div class="post-metadata">

**Author:** ![cole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/53a042/32.png) [@cole](https://www.ruby-forum.com/u/cole)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/conditional-periodically-call-remote/47579/3 "2005-11-12T12:49:33Z")

</div>

Duane J. wrote:

> Hi John,  
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Duane,

Thanks for the pointer will head on over and have a look.

John
