PDA

View Full Version : warchive 0.9, a small question


stLancer_2
10-30-2003, 01:27 AM
i have downloaded the warchive 0.9 from the author's website, and only get 2 files, warchive.cfg and warchive.exe, i try to config it like this:


warchive.cfg:

newdevice=0|500|1500
device=0|E:\FTP.Server\Games|NULL|/Games|NULL

newdevice=1|500|1500
device=1|E:\FTP.Server\Movies|NULL|/Movies|NULL

newdevice=2|500|1500
device=2|E:\FTP.Server\Request|NULL|/Request|NULL

ioftpd.ini:

[Scheduler]
warchive = 0,15,30,45 * * * EXEC ..\scripts\warchive.exe



but i don't know if the value is right, i want it to free up to 1.5G if the hdd space is lower than 0.5G, and scan it every 15 mins, but it seems not working, anyone could help me please? thank you.

WarC
10-30-2003, 07:07 AM
A little bit wrong. Following should do what you want:

newdevice=0|500|1500
device=0|E:\FTP.Server\Games|NULL|/Games|NULL
device=0|E:\FTP.Server\Movies|NULL|/Movies|NULL
device=0|E:\FTP.Server\Request|NULL|/Request|NULL


The only differnce is that I removed newdevice lines and changed 1 and 2 to 0. This because all your areas are on same drive so its same device.

stLancer_2
10-31-2003, 03:10 AM
still not working in Scheduler, it even hangs my server 3 times now. :(


edit:
opps, sorry, it's hangged by iotrial, and warchive works fine now.
thank you and your great program.:D