Screen over Hdmi black

Hello together, Im new and I would like to know, if it is possible to change screensaver settings?
To scan my database (version 0.5.1rc2) the pi needs very long and after about 30mins my tv screen is black and I can´t check the status. I tried to switch tv off and on but it didn´t work so I think there is a screensaver setting which could be changed?

Can someone please help me because i found something about this but after ssh to the pi no command i tried worked and I was not able to edit the config file (I couldn´t find one).

Thanks for help.

if you attach a keyboard and hit a key, the screen should be up again! Or is this too easy…?

Edit: i wrote a load of rubbish.