diff --git a/checkTime.js b/checkTime.js index 8b10ab0..e32ea18 100644 --- a/checkTime.js +++ b/checkTime.js @@ -3,7 +3,7 @@ const [startDate, startMonth, startYear, startHours, startMinutes] = startTimeSt const targetTime = new Date() targetTime.setUTCFullYear(startYear, startMonth - 1, startDate) -targetTime.setUTCHours(startHours + 5, startMinutes, 0, 0) +targetTime.setUTCHours(startHours + 5, startMinutes + 30, 0, 0) const currentTime = new Date() currentTime.setUTCSeconds(0) // we don't want precise time diff --git a/loop.sh b/loop.sh index 286c119..1265c7a 100755 --- a/loop.sh +++ b/loop.sh @@ -60,8 +60,6 @@ requestWebhook() { } check() { - # checkTime.js adds the start time by 5 hours - node checkTime.js $START_TIME exitCode=$?