ESP Daily task with Deep sleep

Hi there
i want to make a battery operated feeder

i am trying to use this library but it doesn't run at specific time and always miss the time

can someone please take a look and see what is messed up ?
i have tried to change lot in deep sleep time but still can't make it work (ESPDailyTaskNTP.cpp)

-replaced 1 by 1000/10000/1000000 in sleep
-changed NTP url / Time Zone
-various hour setting
-diff reset pin
-diff rtc flag
-diff sleep modes

if task time is less then 1 hour after fetching time from NTP (when counter hits 0 or via reset pin) it does the task go back to sleep mode but again after 24 hour their is no task and keep goes on

attaching serial monitor output


Post your code in code tags.

Is the uController a ESP32 or a ESP8266?

Put the images in img tags.

Idahowalker:
Post your code in code tags.

sorry forgot to mention its ESP8266 - Lolin D1 mini and NodemcuV3

using same example as in lib for testing purpose with minimal change

/*
OncePerDay example for ESP8266
This routine gets the unixtime from a NTP server and adjusts it to the time zone and the
Middle European summer time if requested

Copyright (c) 2016 Andreas Spiess

V1.1 2016-8-15
*/


char my_SSID[]= "XYZ";  // ssid of your accesspoint
char my_PASSWORD[]= "123";  // password of access point

#include <ESP8266WiFi.h>
#include <ESPDailyTaskNTP.h>
#include <SNTPtime.h>

char SNTP_SERVER[]="ch.pool.ntp.org";

SNTPtime NTPwork(SNTP_SERVER);

#define RESET_PIN D2

ESPDailyTaskNTP dailyTask(12, 0, 1.0, my_SSID, my_PASSWORD, RESET_PIN); // Hour to do the task

void setup() {
  Serial.begin(115200);
  Serial.println();   Serial.println("Start");   Serial.println();

  dailyTask.sleepOneDay();

  // ------------------ put the code for your daily task here -------------------------------

  Serial.println("............ W O R K ...............................");
  NTPwork.setSNTPtime();
  strDateTime _time = NTPwork.getTime(1.0, 1);
  NTPwork.printDateTime(_time);

  Serial.println("i am awake");
  // ----------------------- end of code for your daily task-------------------------------

  // and back to sleep once daily code is done
  dailyTask.backToSleep();
}

void loop() {
  // sleeping so wont get here
}

again failed

.........WiFi connected
1587138411
2020-4-17-6 21H 16M 51S 
_currentSecs: 76611
_wakeUpSecs: 75120
_secondsToGo: 84909
CHECK   Status: 1, markerFlag: 87, counter: 23, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 22, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 21, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 20, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 19, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 18, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 17, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 16, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 15, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 14, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 13, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 12, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 11, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 10, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 9, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 8, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 7, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 6, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 5, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 4, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 3, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 2, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 1, sleepTime: 3595000000

Start
COUNTING DOWN   Status: 1, markerFlag: 87, counter: 0, sleepTime: 3595000000

Start
COUNTING ZERO  Status: 2, markerFlag: 87, counter: 0, sleepTime: 1000000

Start

.........WiFi connected
1587224307
2020-4-18-7 21H 8M 27S 
_currentSecs: 76107
_wakeUpSecs: 75120
_secondsToGo: 85413
CHECK   Status: 1, markerFlag: 87, counter: 23, sleepTime: 3595000000