<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[context update vs cron]]></title><description><![CDATA[<p dir="auto">If I have a point taking the delta between a totalizer every 15 minutes, using this equation</p>
<p dir="auto">return p317.value - p317.ago(MINUTE, 15)</p>
<p dir="auto">would it be better on the cpu (mango)  to use a context update  or to use a CRON pattern</p>
<p dir="auto">0 0/15 * * * ?</p>
]]></description><link>https://forum.mango-os.com/topic/2498/context-update-vs-cron</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 14:24:56 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2498.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Oct 2016 15:52:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to context update vs cron on Thu, 20 Oct 2016 17:04:41 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure there is a hard and fast simplification for the selection of the type. That said, that's a fine intuition to start from.</p>
<p dir="auto">Another kind of meta data point will be something like the 'Time since status' genre. In this case, I typically use a cron AND a context update. While just using a cron would enable you to recompute the minutes since the last update/change/negative value/whatever, but it isn't responsive and would probably never report a zero. So the context update is useful to zero it out.</p>
]]></description><link>https://forum.mango-os.com/post/12929</link><guid isPermaLink="true">https://forum.mango-os.com/post/12929</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 20 Oct 2016 17:04:41 GMT</pubDate></item><item><title><![CDATA[Reply to context update vs cron on Thu, 20 Oct 2016 15:59:14 GMT]]></title><description><![CDATA[<p dir="auto">So if I am doing things on a "time" basis, cron is better?  It is my understanding that I would use a context update more for a "Status" , or event handler.</p>
]]></description><link>https://forum.mango-os.com/post/12925</link><guid isPermaLink="true">https://forum.mango-os.com/post/12925</guid><dc:creator><![CDATA[atkins.chrisw]]></dc:creator><pubDate>Thu, 20 Oct 2016 15:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to context update vs cron on Thu, 20 Oct 2016 15:56:57 GMT]]></title><description><![CDATA[<p dir="auto">I would use a cron for that regardless but the CPU question depends on how often your contex point where to update.</p>
]]></description><link>https://forum.mango-os.com/post/12924</link><guid isPermaLink="true">https://forum.mango-os.com/post/12924</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Thu, 20 Oct 2016 15:56:57 GMT</pubDate></item></channel></rss>