<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Run Function using External Cron</title><link>http://forums.method.me/cs/forums/thread/36660.aspx</link><pubDate>Wed, 16 Nov 2022 18:53:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36660</guid><dc:creator>Pedalo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36660.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=36660</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Mamoon, thanks for the suggestion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Yes I have tried the app routines but it is no where near often enough for what I need.&lt;/p&gt;
&lt;p&gt;If I were able to set a schedule for example every 10 minutes, that would do it, but the ~3 hour window is not going to do it.&lt;/p&gt;
&lt;p&gt;The use case is with the timer function so I require a regular check to see if ca timer has&amp;nbsp;breached a client threshold allowed.&amp;nbsp; As there isn&amp;#39;t an event while a timer is running there isn&amp;#39;t anything to trigger the check.&lt;span id="mce_2_start" style="overflow:hidden;"&gt; When the threshold is breached, an email would be sent to the operative.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is there anything else that might hack that?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Pedalo&lt;/p&gt;</description></item><item><title>Re: Run Function using External Cron</title><link>http://forums.method.me/cs/forums/thread/36659.aspx</link><pubDate>Wed, 16 Nov 2022 14:54:07 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36659</guid><dc:creator>Method_Mamoon</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36659.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=36659</wfw:commentRss><description>&lt;p&gt;Hey Pedalo,&lt;/p&gt;
&lt;p&gt;Unfortunately, at this time, you cannot trigger functions in Method VIA the API.&amp;nbsp;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;If you are looking to run a routine on a schedule, have you considered using &lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a href="https://help.method.me/en/articles/3107332-app-routines"&gt;app routines&lt;span id="mce_8_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;? They work the same as regular functions but can be scheduled to run whenever you need them to.&lt;span id="mce_12_start" style="overflow:hidden;"&gt; Let me know if that is more what you are looking for or if there is another use case we are not capturing correctly now.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;Thank you&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Run Function using External Cron</title><link>http://forums.method.me/cs/forums/thread/36656.aspx</link><pubDate>Mon, 14 Nov 2022 20:05:36 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36656</guid><dc:creator>Pedalo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36656.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=36656</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start"&gt;Hi &lt;span id="mce_1_start" style="overflow:hidden;"&gt;All&lt;/span&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking to run a function on a scheulde within Method. using an external cron.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I can see there are options to run a function behind the load event of a webform, but wanted something more stable off the back of an extenrnal scheduled job through the Method API.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From what I can see in the forum and the API documentation, it&amp;#39;s only possible to update tables as a normal API is designed, so I have the following questions if anyone is able to help with their experience.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1 - Is it possible to fire a function from the API?&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2 - If the answer to #1 is no, is anyone running functions in Method from an external cron?&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_3_start"&gt;3 -&amp;nbsp;&lt;/span&gt;I&amp;#39;ve tried hitting a webform&amp;nbsp;&lt;span id="mce_1_start"&gt;using&amp;nbsp;&lt;/span&gt;wget and cURL but it doesn&amp;#39;t trigger the &amp;#39;on load&amp;#39; function that gets fired when it&amp;#39;s loaded using a browser.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Before I configure Selenium, is there an easier (or more stable) route to take?&lt;span id="mce_2_start"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks to anyone that can help&lt;span id="mce_4_end"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>