Login
Register
Menu
Home
Help
Search
rejetto forum
PROBLEMS? QUESTIONS? CLICK HERE!
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
HTML & templates
»
event script
event script
kaler
·
6 ·
8436
« previous
next »
Print
Pages:
1
0 Members and 1 Guest are viewing this topic.
kaler
Occasional poster
Posts:
94
event script
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...
rejetto
Administrator
Tireless poster
Posts:
13523
Re: event script
Reply #1 on:
August 30, 2009, 01:32:30 PM
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
kaler
Occasional poster
Posts:
94
Re: event script
Reply #2 on:
August 30, 2009, 01:37:55 PM
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?
rejetto
Administrator
Tireless poster
Posts:
13523
Re: event script
Reply #3 on:
August 30, 2009, 01:54:58 PM
"everytime" ?
it should be every 60 minutes.
double check.
the log screen cannot be reset that way at the moment, only with the mouse.
kaler
Occasional poster
Posts:
94
Re: event script
Reply #4 on:
August 30, 2009, 02:02:00 PM
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)
rejetto
Administrator
Tireless poster
Posts:
13523
Re: event script
Reply #5 on:
August 30, 2009, 03:20:03 PM
yes, it should.
i just didn't test it.
Print
Pages:
1
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
HTML & templates
»
event script
Search
Username
Password
Always stay logged in
Forgot your password?