# Periodically\_call\_remote doesnÂ´t work properly

**URL:** <https://www.ruby-forum.com/t/periodically-call-remote-doesna-t-work-properly/184858>\
**Category:** Rails\
**Created:** [March 9, 2010, 4:31pm UTC](https://www.ruby-forum.com/t/periodically-call-remote-doesna-t-work-properly/184858 "2010-03-09T16:31:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwillie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@erwillie](https://www.ruby-forum.com/u/erwillie)\
**Post date:** [March 9, 2010, 4:31pm UTC](https://www.ruby-forum.com/t/periodically-call-remote-doesna-t-work-properly/184858/1 "2010-03-09T16:31:37Z")

</div>

Hi everyone:  
I have some problems using periodically\_call\_remote, here is my code:

\<%=periodically\_call\_remote(:url =\> ‘[http://localhost:3000](http://localhost:3000)’, :frequency  
=\> ‘0.5’, :update =\> {:success=\>‘imagen’})%\>

\<%=image\_tag("/guarrada/Debug/foto.jpg") %\>

My problem is that when I load the web page, it works properly for 3 or  
4 refresh, but after that I have the result of the attachment image.  
Ayone can say me what IÂ´m doing wrong??

THANKS!!!
