Browse Source

Switched Log placement

master
Bianca Steffes 3 years ago
parent
commit
415ec6471e
  1. 2
      .gitignore
  2. 4
      export/src/export/Main.java

2
.gitignore

@ -1 +1,3 @@
/.metadata/
/.idea/
/export/data(1).zip

4
export/src/export/Main.java

@ -289,6 +289,8 @@ public class Main
{
if (dailyRequestCount > requestLimitDay) // daily request limit reached, wait until the next day
{
//Write info what you did today
writeLog("Daily requests done. Current status: Athlete "+athleteId+", Activity "+simpleActivityId);
Calendar tomorrow = new GregorianCalendar();
tomorrow.setTimeInMillis(System.currentTimeMillis());
tomorrow.set(Calendar.DAY_OF_YEAR, tomorrow.get(Calendar.DAY_OF_YEAR) + 1);
@ -305,8 +307,6 @@ public class Main
catch (InterruptedException e1)
{
}
//Write info what you did today
writeLog("Daily requests done. Current status: Athlete "+athleteId+", Activity "+simpleActivityId);
dailyRequestCount=0;
}

Loading…
Cancel
Save