<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/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>Scheduler Service Issues</title><link>https://www.aras.com/community/f/development/6091/scheduler-service-issues</link><description>I&amp;#39;m trying to automate the execution of a server method, but after installing the Aras Scheduler Service and filling out the InnovatorServiceConfig file, the scheduled method does not execute. I can see InnovatorService trying to execute the method in</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3103?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 14:46:01 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:88e8a63a-81e1-443e-b885-428c41aa5a1c</guid><dc:creator>Sam Poe</dc:creator><description>&lt;p&gt;OK there should be more logs in the event viewer than the finished one. If you look at just lines for InnovatorService there should be at least 3 lines: one that says start, one that looks like AML, and the one that says finished. There might also be some error lines that could tell us more about what&amp;#39;s going on. I believe the finished line is just saying that the method is done running, not that it completed successfully. Unfortunately, there isn&amp;#39;t a more detailed logging level that the level 2 you are currently using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3084?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 18:42:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f6915b2f-8244-4e54-be2a-e706abaaab4a</guid><dc:creator>dortego</dc:creator><description>&lt;p&gt;There&amp;#39;s a &amp;#39;Method Finished&amp;#39; event with the method name and then an event that says &amp;quot;mpdwsvc - Initializing authorization manager with group name &amp;quot;PdwDataMovementAccess&amp;quot; and...&amp;quot; every time, but the method does not seem to actually run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3083?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 17:47:31 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:15650643-7916-456a-8ce2-31650deb2f91</guid><dc:creator>Sam Poe</dc:creator><description>&lt;p&gt;Great. Could you check the windows event logs and see if the job is firing and if so, what is the result? Is there an error in that logging that can be checked?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3065?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2019 15:29:11 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f79dda58-0d54-4799-a10f-43ba36d7b495</guid><dc:creator>dortego</dc:creator><description>&lt;p&gt;Thanks again for your response. That solved the &lt;span&gt;&amp;quot;last run was less than an Interval ago&amp;quot;&amp;nbsp;&lt;/span&gt;error that was showing up, but the changes still don&amp;#39;t occur in the database. Not sure where the problem is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3051?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 14:25:33 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7914c05f-30a8-4917-9078-39145c0f26a5</guid><dc:creator>Sam Poe</dc:creator><description>&lt;p&gt;Dortego,&lt;/p&gt;
&lt;p&gt;I believe the issue is with the job tags above. In the current setting (with all the *s) you are telling the service to run the method, at some point, any minute of any hour of any day of any month. As you mention this is a nightly job, I would suggest setting the hours to 23, 0, or 01 (and the minutes to something like 02 to account for any timing issues). [For testing, just choose the current hour and put the minutes in the next 5 or 10, so if it's 9:30 AM, set the test at 9 hours 35 minutes.] Also, with the current setting, this method will run every day; if you want it to run only on standard business days, you should probably set days to 1,2,3,4,5 as 0 and 6 represent Sunday and Saturday, respectively (all the time-type values can be a comma-separated list, see the blog post for more information).&lt;/p&gt;
&lt;p&gt;Let me know if that works,&lt;br /&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3044?ContentTypeID=1</link><pubDate>Fri, 21 Jun 2019 00:44:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:a71f891d-d349-4747-820f-19fb872c4eae</guid><dc:creator>dortego</dc:creator><description>&lt;p&gt;Thank you for your response. I kept &amp;lt;intervalMinutes&amp;gt; at 1 or 2 for all my attempts. Here&amp;#39;s the complete&amp;nbsp;&lt;span&gt;InnovatorServerConfig:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;innovators&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;innovator&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;server&amp;gt;localhost/.../server&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;database&amp;gt;dbName&amp;lt;/database&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;username&amp;gt;admin&amp;lt;/username&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;password&amp;gt;innovator&amp;lt;/password&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;http_timeout_seconds&amp;gt;600&amp;lt;/http_timeout_seconds&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;job&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;method&amp;gt;a_HMS_Avail A-Days Nightly Job&amp;lt;/method&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;months&amp;gt;*&amp;lt;/months&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;days&amp;gt;*&amp;lt;/days&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;hours&amp;gt;*&amp;lt;/hours&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;minutes&amp;gt;*&amp;lt;/minutes&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/job&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/innovator&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;eventLoggingLevel&amp;gt;2&amp;lt;/eventLoggingLevel&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;intervalMinutes&amp;gt;1&amp;lt;/intervalMinutes&amp;gt;&lt;br /&gt;&amp;lt;/innovators&amp;gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scheduler Service Issues</title><link>https://www.aras.com/community/thread/3043?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 21:06:43 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f7c70561-f249-4711-bf3c-af2ab255f42a</guid><dc:creator>Sam Poe</dc:creator><description>&lt;p&gt;Hello dortego, &lt;br /&gt;Can I ask what you have in the &amp;lt;intervalMinutes&amp;gt; tag in you InnovatorServerConfig file? (Everything from &amp;lt;job&amp;gt; to &amp;lt;intervalMinutes&amp;gt; would help me walk through this.) That seems like the most likely source of the error listed. The interval is not how often the task runs, but how often the server should check and see if the time to run it has occurred.&lt;br /&gt;We also have a blog post &lt;a href="/b/english/posts/automating-methods-using-aras-scheduler-service" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt; with an example that might help to compare your config file to.&lt;br /&gt;Thanks,&lt;br /&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>