rejetto forum
May 25, 2012, 09:44:43 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: event script  (Read 504 times)
0 Members and 1 Guest are viewing this topic.
kaler
Experienced poster
***
Offline Offline

Germany Germany

Posts: 94


View Profile
« on: August 30, 2009, 03: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...
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: August 30, 2009, 08:32:30 AM »

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
Logged
kaler
Experienced poster
***
Offline Offline

Germany Germany

Posts: 94


View Profile
« Reply #2 on: August 30, 2009, 08:37:55 AM »

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?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #3 on: August 30, 2009, 08:54:58 AM »

"everytime" ?
it should be every 60 minutes.
double check.

the log screen cannot be reset that way at the moment, only with the mouse.
Logged
kaler
Experienced poster
***
Offline Offline

Germany Germany

Posts: 94


View Profile
« Reply #4 on: August 30, 2009, 09:02:00 AM »

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)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #5 on: August 30, 2009, 10:20:03 AM »

yes, it should.
i just didn't test it.
Logged
rejetto forum
« Reply #5 on: August 30, 2009, 10:20:03 AM »

Do you like this software? Consider even $2
 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 17, 2012, 07:03:32 AM
anything