give_grp_credits.bat:
@echo !change =Admins CREDITS +102400
ioFTPD.ini:
give_grp_credits = 0 0 * 0 EXEC ..\scripts\give_grp_credits.bat
= Sunday midnight, give an additionnal 100MB to all users in group Admins.
0 0 * * would be every day
0 0 1 * would be every month
If you want to remove old credits and only give 100MB, remove the +
@echo !change =Admins CREDITS 102400
Amazing what u can do with a 1 line .bat, isn't it.
|