You commented-out setting the RTC to system UTC time between random, non-function, hanging braces...
You meant to copy/paste this, but did not do it right...
if (! rtc.isrunning()) {
Serial.println("RTC is NOT running!");
// following line sets the RTC to the date & time this sketch was compiled
rtc.adjust(DateTime(__DATE__, __TIME__));
Your "commented-out" clip will cause "now" to be "Arduino-reset-time" (0:0:0.0 ) plus a few seconds... see above.
Verify your sketch and correct it, line by line. I suspect more errors like the above.
Also, describe "just doesn't work."
p.s. Check the battery on your RTC... no battery v = no time stored.
"Feed pet every 2 hours." Your current sketch has many flaws, and will not track or display time, or move a motor. Here's how you should make it work:
What ARDUINO do you have?
What LCD do you have (SPI or I2C)?
What MOTOR do you have (DC, Stepper, Servo)?
What RTC do you have?
Use that information to help build some test projects.
LiquidCrystalDiode (LCD) - Make a sketch that uses only your Arduino and an LCD module that places the cursor and displays some words and a changing number.