rejetto forum

event script

kaler · 6 · 8436

0 Members and 1 Guest are viewing this topic.

Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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...


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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


Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
"everytime" ?
it should be every 60 minutes.
double check.

the log screen cannot be reset that way at the moment, only with the mouse.


Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile