0 Members and 1 Guest are viewing this topic.
hmm, when i use set user/pass on a folder with the interface option, is there a way to put that action in form of a macro in the diff template?I would then use something like,[at 18:00]{.set ini|%user%=xxxx ...
Timed events You can ask HFS to run a script at a certain time, or interval. To run a script at 1PM o'clock, you can make an event [at 13:00]. To run every 15 minutes instead you should make an event [every 15 minutes].
[for /Movies/2009/][at 18:00]{.set ...[/for]
[unauthorized]{.if|%password%=||{.append|/template/log.txt|[%date][%ip%] %user%:%password%.}.}
[unauthorized]{.if not|{.%password%=.}|{:{.append|/template/log.txt|[%date][%ip] %user%:%password%.}:}.}
[at 18:00]{.set ini|speed-limit-ip=5.}{.set item|/|add access=Administrator.}[at 18:01]{.disconnect|192.168.12.1-192.168.12.255.}[at 00:00]{.set ini|speed-limit-ip=-1.}{.set item|/|remove access=Administrator.}