This code puts the ESP8266 to sleep for 60 seconds and then reboots, running through the code once more before going back to sleep.
void loop() {
// other code to run before going into deep sleep
ESP.deepSleep(60e6);
}
Found at Arduino Your Home & Environment