rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: kaler on August 30, 2009, 08:59:24 AM
-
i've seen, that you can make a script, that will be run every hour...
but i dont know what i must write for get that effect.
every hour the log should be saved in a 'log_%timestamp%.txt' file and the shown log (in the hfs window) should be reset.
how can i realise that???
Thank you for help...
-
menu > other options > edit event scripts
[every 60 minutes]
{.rename| filename.log | rotated log %timestamp%.txt .}
consider timestamp may contained invalid characters, so you should replace or remove them, or the rename will fail
-
hm... i think thats the direction of my question, but now it is overwrite everytime, but i want to have for every 60 min a new file,
and the log screen should be reset... how cani realise this changing?
-
"everytime" ?
it should be every 60 minutes.
double check.
the log screen cannot be reset that way at the moment, only with the mouse.
-
yeah i know...
i have a question does the event saved every 60 min the hole log screen into the %timestamp%.txt ( i will change it into log.txt)
-
yes, it should.
i just didn't test it.