Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed jobmanager projeCT REFERENCE

  • Loading branch information...
commit 877b484d634364d64914bb527891c5abd1b7b857 1 parent 34871c3
@sethwebster authored
Showing with 17,730 additions and 6 deletions.
  1. BIN  Recurrence.Data/obj/Debug/ResolveAssemblyReference.cache
  2. +46 −0 Recurrence.JobManager/JobManager.cs
  3. +36 −0 Recurrence.JobManager/Properties/AssemblyInfo.cs
  4. +69 −0 Recurrence.JobManager/Recurrence.JobManager.csproj
  5. BIN  Recurrence.JobManager/bin/Debug/EntityFramework.dll
  6. +17,551 −0 Recurrence.JobManager/bin/Debug/EntityFramework.xml
  7. BIN  Recurrence.JobManager/bin/Debug/Recurrence.Data.dll
  8. BIN  Recurrence.JobManager/bin/Debug/Recurrence.Data.pdb
  9. BIN  Recurrence.JobManager/bin/Debug/Recurrence.JobManager.dll
  10. BIN  Recurrence.JobManager/bin/Debug/Recurrence.JobManager.pdb
  11. BIN  Recurrence.JobManager/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  12. +18 −0 Recurrence.JobManager/obj/Debug/Recurrence.JobManager.csproj.FileListAbsolute.txt
  13. BIN  Recurrence.JobManager/obj/Debug/Recurrence.JobManager.dll
  14. BIN  Recurrence.JobManager/obj/Debug/Recurrence.JobManager.pdb
  15. BIN  Recurrence.JobManager/obj/Debug/ResolveAssemblyReference.cache
  16. +4 −0 Recurrence.JobManager/packages.config
  17. +6 −6 Recurrence.sln
  18. BIN  Recurrence.sln.docstates.suo
  19. BIN  Recurrence.suo
  20. BIN  Recurrence/bin/Recurrence.dll
  21. BIN  Recurrence/bin/Recurrence.pdb
  22. BIN  Recurrence/obj/Debug/Recurrence.dll
  23. BIN  Recurrence/obj/Debug/Recurrence.pdb
  24. 0  Recurrence/obj/Debug/build.force
View
BIN  Recurrence.Data/obj/Debug/ResolveAssemblyReference.cache
Binary file not shown
View
46 Recurrence.JobManager/JobManager.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Recurrence.Data;
+using System.Timers;
+
+namespace Recurrence.JobManager
+{
+ public class JobManager
+ {
+ IDataRepository db = null;
+
+ Timer _jobTimer = null;
+ bool _isRunning = false;
+
+ public JobManager(IDataRepository database)
+ {
+ this.db = database;
+ _jobTimer = new Timer();
+ _jobTimer.Interval = 500;
+ _jobTimer.Elapsed += new ElapsedEventHandler(OnElapsed);
+ _jobTimer.Start();
+ }
+
+ void OnElapsed(object sender, ElapsedEventArgs e)
+ {
+ if (_isRunning)
+ {
+ //DO WORK
+ }
+ }
+
+ public void Start()
+ {
+ _isRunning = true;
+ }
+
+ public void Stop()
+ {
+ _isRunning = false;
+ }
+
+
+ }
+}
View
36 Recurrence.JobManager/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Recurrence.JobManager")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Recurrence.JobManager")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("9111eb67-0038-4036-9324-9fedf3f1a5dd")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
View
69 Recurrence.JobManager/Recurrence.JobManager.csproj
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{822A0D22-C6C1-4A1C-8107-848C0CCF332A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Recurrence.JobManager</RootNamespace>
+ <AssemblyName>Recurrence.JobManager</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ <Reference Include="WebBackgrounder">
+ <HintPath>..\Recurrence\packages\WebBackgrounder.0.1\lib\net40\WebBackgrounder.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="JobManager.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <WCFMetadata Include="Service References\" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Recurrence.Data\Recurrence.Data.csproj">
+ <Project>{4F06FC0B-C501-407C-99C1-9179E7652514}</Project>
+ <Name>Recurrence.Data</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
View
BIN  Recurrence.JobManager/bin/Debug/EntityFramework.dll
Binary file not shown
View
17,551 Recurrence.JobManager/bin/Debug/EntityFramework.xml
17,551 additions, 0 deletions not shown
View
BIN  Recurrence.JobManager/bin/Debug/Recurrence.Data.dll
Binary file not shown
View
BIN  Recurrence.JobManager/bin/Debug/Recurrence.Data.pdb
Binary file not shown
View
BIN  Recurrence.JobManager/bin/Debug/Recurrence.JobManager.dll
Binary file not shown
View
BIN  Recurrence.JobManager/bin/Debug/Recurrence.JobManager.pdb
Binary file not shown
View
BIN  Recurrence.JobManager/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Binary file not shown
View
18 Recurrence.JobManager/obj/Debug/Recurrence.JobManager.csproj.FileListAbsolute.txt
@@ -0,0 +1,18 @@
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\Recurrence.JobManager.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\Recurrence.JobManager.pdb
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\obj\Debug\ResolveAssemblyReference.cache
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\obj\Debug\Recurrence.JobManager.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\obj\Debug\Recurrence.JobManager.pdb
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\Recurrence.Data.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\EntityFramework.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\Recurrence.Data.pdb
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence.JobManager\bin\Debug\EntityFramework.xml
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\Recurrence.JobManager.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\Recurrence.JobManager.pdb
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\Recurrence.Data.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\EntityFramework.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\Recurrence.Data.pdb
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\bin\Debug\EntityFramework.xml
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\obj\Debug\ResolveAssemblyReference.cache
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\obj\Debug\Recurrence.JobManager.dll
+E:\Users\Seth Webster\Documents\Visual Studio 2010\Projects\git\Recurrence\Recurrence.JobManager\obj\Debug\Recurrence.JobManager.pdb
View
BIN  Recurrence.JobManager/obj/Debug/Recurrence.JobManager.dll
Binary file not shown
View
BIN  Recurrence.JobManager/obj/Debug/Recurrence.JobManager.pdb
Binary file not shown
View
BIN  Recurrence.JobManager/obj/Debug/ResolveAssemblyReference.cache
Binary file not shown
View
4 Recurrence.JobManager/packages.config
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="WebBackgrounder" version="0.1" />
+</packages>
View
12 Recurrence.sln
@@ -3,10 +3,10 @@ Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recurrence", "Recurrence\Recurrence.csproj", "{9726223D-2B8D-47D8-868B-AF106B0521EE}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recurrence.JobManager", "..\Recurrence.JobManager\Recurrence.JobManager.csproj", "{822A0D22-C6C1-4A1C-8107-848C0CCF332A}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recurrence.Data", "Recurrence.Data\Recurrence.Data.csproj", "{4F06FC0B-C501-407C-99C1-9179E7652514}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Recurrence.JobManager", "Recurrence.JobManager\Recurrence.JobManager.csproj", "{822A0D22-C6C1-4A1C-8107-848C0CCF332A}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -17,14 +17,14 @@ Global
{9726223D-2B8D-47D8-868B-AF106B0521EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9726223D-2B8D-47D8-868B-AF106B0521EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9726223D-2B8D-47D8-868B-AF106B0521EE}.Release|Any CPU.Build.0 = Release|Any CPU
- {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Release|Any CPU.Build.0 = Release|Any CPU
{4F06FC0B-C501-407C-99C1-9179E7652514}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F06FC0B-C501-407C-99C1-9179E7652514}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F06FC0B-C501-407C-99C1-9179E7652514}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F06FC0B-C501-407C-99C1-9179E7652514}.Release|Any CPU.Build.0 = Release|Any CPU
+ {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {822A0D22-C6C1-4A1C-8107-848C0CCF332A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
View
BIN  Recurrence.sln.docstates.suo
Binary file not shown
View
BIN  Recurrence.suo
Binary file not shown
View
BIN  Recurrence/bin/Recurrence.dll
Binary file not shown
View
BIN  Recurrence/bin/Recurrence.pdb
Binary file not shown
View
BIN  Recurrence/obj/Debug/Recurrence.dll
Binary file not shown
View
BIN  Recurrence/obj/Debug/Recurrence.pdb
Binary file not shown
View
0  Recurrence/obj/Debug/build.force
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.