Compare commits

...
2 Commits
Author SHA1 Message Date
BlubbFish 925131a52b [BF] Fixing Bug with Cronjon (stupid bug) 2017-12-01 16:14:26 +00:00
BlubbFish 8cae908a22 [NF] First Release of Zway-Bot 2017-11-25 11:14:04 +00:00
6 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace ZwayBot {
private void Runner() {
Thread.Sleep(DateTime.Now.AddMinutes(1).AddSeconds(DateTime.Now.Second * (-1)).AddMilliseconds(DateTime.Now.Millisecond * (-1)) - DateTime.Now);
while (true) {
if(this.crontime.Minute < DateTime.Now.Minute) {
if(this.crontime.Minute != DateTime.Now.Minute) {
this.crontime = DateTime.Now;
foreach (String item in this.ini.GetSections()) {
if(ParseCronString(this.ini.GetValue(item, "cron"))) {
-3
View File
@@ -49,9 +49,6 @@
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Utils\Utils\Utils.csproj">
<Project>{fac8ce64-bf13-4ece-8097-aeb5dd060098}</Project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.