<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Building Browsergames - Latest Comments in Using the &amp;#8220;on-view&amp;#8221; method instead of cron</title><link>http://bbgames.disqus.com/</link><description></description><atom:link href="https://bbgames.disqus.com/using_the_8220on_view8221_method_instead_of_cron/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 23 Nov 2009 01:38:07 -0000</lastBuildDate><item><title>Re: Using the &amp;#8220;on-view&amp;#8221; method instead of cron</title><link>http://buildingbrowsergames.com/2008/07/18/using-the-on-view-method-instead-of-cron/#comment-23856982</link><description>&lt;p&gt;I think you're thinking of javaSCRIPT - which can do this for you, yes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luke</dc:creator><pubDate>Mon, 23 Nov 2009 01:38:07 -0000</pubDate></item><item><title>Re: Using the &amp;#8220;on-view&amp;#8221; method instead of cron</title><link>http://buildingbrowsergames.com/2008/07/18/using-the-on-view-method-instead-of-cron/#comment-23850281</link><description>&lt;p&gt;We can use a timer that redirects the browser to another page (the updated result page) when it ends the count.&lt;/p&gt;&lt;p&gt;Can be done with Java?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">S Keilani</dc:creator><pubDate>Sun, 22 Nov 2009 23:04:40 -0000</pubDate></item><item><title>Re: Using the &amp;#8220;on-view&amp;#8221; method instead of cron</title><link>http://buildingbrowsergames.com/2008/07/18/using-the-on-view-method-instead-of-cron/#comment-3853275</link><description>&lt;p&gt;One could use a simple JavaScript timer or AJAX call to fire the server side CRON or serious of functions.&lt;/p&gt;&lt;p&gt;I think this may depend on what your purpose for having the cron job is to begin with. For instance, to refresh player stats a simple AJAX call could do the trick, if you want to move mobiles around then you probably do want something that is handled on the server.&lt;/p&gt;&lt;p&gt;In .NET one could initialize a timer in the application start event and have that handle mobiles movement, etc. The only problem there is that if the application stops, which it can in IIS 6, then your timer stops. Of course if players are actively using your site your application won’t shutdown but it is still something to be aware of.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">scam</dc:creator><pubDate>Mon, 17 Nov 2008 00:32:59 -0000</pubDate></item></channel></rss>