Can I get data from blynk after reboot ESP32?

I can get data when I change numeric input in blynk with this code.

 BLYNK_WRITE(V4)
{
  time_log = param.asInt(); 

}
void loop() {

   Blynk.run();
   timer.run();

   now = rtc.now();  

   Serial.print("Time Log: ");
   Serial.println(time_log);


  if(now >= next_log){

      next_log = now + (time_log*60);
      
      Serial.print("Run");
  }
delay(3000);

}

I can get time_log from BLYNK_WRITE(V4) when I change numeric input in blynk. when I reboot ESP32 it not get data from blynk until I change numeric input in blynk again. Can I get data from blynk after reboot ESP32 ?

Hi !
You can add Blynk.syncVirtual(V4) in your setup.

Read the " Synchronising the output state with the app at startup" section of this topic:

Pete.

Also the KILLER delay in the void loop. Search “clean void loop”

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/keep-your-void-loop-clean

Pete.

You can’t use that in the loop, use timers instead