<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jsCron: Schedule code to run via simple JavaScript</title>
	<atom:link href="http://ajaxian.com/archives/jscron/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/jscron</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: aslakhellesoy</title>
		<link>http://ajaxian.com/archives/jscron/comment-page-1#comment-270463</link>
		<dc:creator>aslakhellesoy</dc:creator>
		<pubDate>Wed, 14 Jan 2009 18:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5591#comment-270463</guid>
		<description>If it was possible to add a field for seconds I might use this.</description>
		<content:encoded><![CDATA[<p>If it was possible to add a field for seconds I might use this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndyStevens</title>
		<link>http://ajaxian.com/archives/jscron/comment-page-1#comment-270406</link>
		<dc:creator>AndyStevens</dc:creator>
		<pubDate>Tue, 13 Jan 2009 18:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5591#comment-270406</guid>
		<description>@jaysmith
I&#039;ve not actually tried it myself, but according to O&#039;Reilly&#039;s &quot;Adobe AIR for JavaScript Developers Pocket Guide&quot; eval() is &quot;restricted within the application sandbox ... Prohibited after onload. After the parsing time, you cannot use eval() to transform strings (such as those imported via XHR) into JavaScript code. The exception from this rule is eval() used with a string parameter of type JSON - pure JSON strings can be transformed into actual objects, although JSON code that contains call back functions are not supported.&quot;
There&#039;s a bunch of similar restrictions, e.g. document.write(), setTimeout() with a string parameter, and so on.</description>
		<content:encoded><![CDATA[<p>@jaysmith<br />
I&#8217;ve not actually tried it myself, but according to O&#8217;Reilly&#8217;s &#8220;Adobe AIR for JavaScript Developers Pocket Guide&#8221; eval() is &#8220;restricted within the application sandbox &#8230; Prohibited after onload. After the parsing time, you cannot use eval() to transform strings (such as those imported via XHR) into JavaScript code. The exception from this rule is eval() used with a string parameter of type JSON &#8211; pure JSON strings can be transformed into actual objects, although JSON code that contains call back functions are not supported.&#8221;<br />
There&#8217;s a bunch of similar restrictions, e.g. document.write(), setTimeout() with a string parameter, and so on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaysmith</title>
		<link>http://ajaxian.com/archives/jscron/comment-page-1#comment-270368</link>
		<dc:creator>jaysmith</dc:creator>
		<pubDate>Mon, 12 Jan 2009 14:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5591#comment-270368</guid>
		<description>I may have missed that one. eval() does not work in Adobe Air applications?</description>
		<content:encoded><![CDATA[<p>I may have missed that one. eval() does not work in Adobe Air applications?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aNieto2k</title>
		<link>http://ajaxian.com/archives/jscron/comment-page-1#comment-270362</link>
		<dc:creator>aNieto2k</dc:creator>
		<pubDate>Mon, 12 Jan 2009 13:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5591#comment-270362</guid>
		<description>Thx Spocke, 

I change it and now you can use this method.</description>
		<content:encoded><![CDATA[<p>Thx Spocke, </p>
<p>I change it and now you can use this method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spocke</title>
		<link>http://ajaxian.com/archives/jscron/comment-page-1#comment-270358</link>
		<dc:creator>Spocke</dc:creator>
		<pubDate>Mon, 12 Jan 2009 12:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=5591#comment-270358</guid>
		<description>Why use eval and eval style setInterval. These methods are both slow and non working in for example an Air environment. So it can be done without evil evals.

Something like this would have been nicer:
jsCron.set(&quot;35 17 * * *&quot;, function() {
     alert(&quot;Yo!&quot;);
});</description>
		<content:encoded><![CDATA[<p>Why use eval and eval style setInterval. These methods are both slow and non working in for example an Air environment. So it can be done without evil evals.</p>
<p>Something like this would have been nicer:<br />
jsCron.set(&#8220;35 17 * * *&#8221;, function() {<br />
     alert(&#8220;Yo!&#8221;);<br />
});</p>
]]></content:encoded>
	</item>
</channel>
</rss>

