<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.oehive.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>The OpenEdge Hive - schtasks</title>
 <link>http://www.oehive.org/taxonomy/term/1005/0</link>
 <description></description>
 <language>oehive</language>
<item>
 <title>Can&#039;t get schtasks.exe to work in Windows 7</title>
 <link>http://www.oehive.org/node/2069</link>
 <description>&lt;p&gt;I have a functioning command in Windows XP to schedule a task to run every minute with the Windows scheduler.  It looks like this:&lt;/p&gt;
&lt;p&gt;ASSIGN l-cmd = &#039;schtasks /Create /SC minute /RU &quot;&quot; /TN &quot;Capture AutoSync&quot; /TR &quot;\&quot;C:\Auto.lnk&quot;&#039;.&lt;br /&gt;
OS-COMMAND NO-CONSOLE VALUE(l-cmd).&lt;/p&gt;
&lt;p&gt;On Windows 7, I get &quot;The task XML is missing a required element or attribute.&quot;&lt;/p&gt;
&lt;p&gt;However, the MS example (from their website) shows the following example:&lt;/p&gt;
&lt;p&gt;   SCHTASKS /Create /S system /U user /P password /RU runasuser&lt;br /&gt;
            /RP runaspassword&lt;br /&gt;
            /SC HOURLY /TN rtest1 /TR notepad&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/node/667&quot; class=&quot;og_links&quot;&gt;ABL(4GL) General Programming Group&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.oehive.org/node/2069&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.oehive.org/node/2069#comments</comments>
 <category domain="http://www.oehive.org/taxonomy/term/1005">schtasks</category>
 <group domain="http://www.oehive.org/node/667">ABL(4GL) General Programming Group</group>
 <pubDate>Thu, 15 Mar 2012 14:10:08 +0000</pubDate>
 <dc:creator>NoblePursuits</dc:creator>
 <guid isPermaLink="false">2069 at http://www.oehive.org</guid>
</item>
</channel>
</rss>
