<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/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>CSLA .NET discussion</title><link>http://forums.lhotka.net/forums/5.aspx</link><description>General discussion about CSLA .NET</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Re: Scheduled Batch Jobs</title><link>http://forums.lhotka.net/forums/thread/52924.aspx</link><pubDate>Thu, 07 Jun 2012 19:42:56 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52924</guid><dc:creator>pondosinat</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52924.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52924</wfw:commentRss><description>&lt;p&gt;Thanks for the idea, GaryG. That sounds like a cool way to load balance jobs across multiple servers. For our purposes, it&amp;#39;s probably overkill at least for now.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Scheduled Batch Jobs</title><link>http://forums.lhotka.net/forums/thread/52918.aspx</link><pubDate>Thu, 07 Jun 2012 16:02:32 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52918</guid><dc:creator>GaryG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52918.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52918</wfw:commentRss><description>&lt;p&gt;I had pretty good luck a couple of years ago, using an open source Enterprise Job Scheduler called Quartz.Net (a port to .Net of a Java tool).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://quartznet.sourceforge.net/"&gt;http://quartznet.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We&amp;nbsp;created a central web service to which jobs were submitted. Remote websites would then &amp;quot;phone home&amp;quot; to the service to see if any jobs had been submitted (submitted jobs were specific as to the server they were to run on). If any jobs were scheduled to be run for the server phoning in, those jobs were downloaded and run.&amp;nbsp;A &amp;quot;job&amp;quot; can be anything you define in code.&lt;/p&gt;
&lt;p&gt;Might be overkill for your needs, but it worked, and was pretty easy to get up and running.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Scheduled Batch Jobs</title><link>http://forums.lhotka.net/forums/thread/52912.aspx</link><pubDate>Wed, 06 Jun 2012 21:23:16 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52912</guid><dc:creator>pondosinat</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52912.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52912</wfw:commentRss><description>&lt;p&gt;The last time I was working on a solution for scheduling tasks was pre-Windows 7, hence the my ignorance about the built-in Task Scheduler. &lt;/p&gt;
&lt;p&gt;Autorun looks like the right way to go and will save a lot of time with it&amp;#39;s built in Windows app. Thanks for the great tip!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Scheduled Batch Jobs</title><link>http://forums.lhotka.net/forums/thread/52910.aspx</link><pubDate>Wed, 06 Jun 2012 20:34:34 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52910</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52910.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52910</wfw:commentRss><description>&lt;p&gt;Why would you write a Windows Service for a scheduled task/ batch job? &lt;/p&gt;
&lt;p&gt;Windows /Vista/7/8/Server2008/Server2012) has a building Task Scheduler:&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc721871.aspx"&gt;http://technet.microsoft.com/en-us/library/cc721871.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And if you need a managed solution with separate database for logging and configuration look at Autorun:&lt;br /&gt;&lt;a href="http://autorun.codeplex.com"&gt;http://autorun.codeplex.com&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Scheduled Batch Jobs</title><link>http://forums.lhotka.net/forums/thread/52905.aspx</link><pubDate>Wed, 06 Jun 2012 17:35:09 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52905</guid><dc:creator>pondosinat</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52905.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52905</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m putting together a Windows service for a client that will run scheduled batch jobs (sending out emails, archiving data, etc..) and was wondering what a typical solution might be for this? I wrote a couple services based on the CSLA BatchQueue a long while back, and was considering using it again since it&amp;#39;s fairly lightweight, even though it was dropped from the CSLA framework years ago.&lt;/p&gt;
&lt;p&gt;I noticed Rocky mentioned PowerShell or WF as newer possibilities for this scenario. Has anyone implemented something like that? The main requirements are that the batch jobs need to execute C# code and run on a Windows server. A full-fledged WF host might be overkill, but if it&amp;#39;s not too painful to set up/configure I&amp;#39;ll go that route.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>