rejetto forum
February 09, 2012, 04:34:35 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: command line parameter: -c  (Read 994 times)
0 Members and 1 Guest are viewing this topic.
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« on: January 26, 2010, 08:02:48 AM »

hi guys,
i just documented the new command line parameter "-c"
http://www.rejetto.com/wiki/index.php/HFS:_Command_line_parameters

if you are an advanced user you should definitely have a look at it, because it lets you automate lots of things very easily without having to mess with scripting (macros).

let's say you want your server to be active only from 8AM to 4PM,
you can schedule Windows to run this command at 8AM
hfs -c active=yes

then another schedule for 4PM
hfs -c active=no

and this was just a quick example. You can have a look at your hfs.ini to have an idea of what you can do. Anything in it can virtually be modified by using -c
« Last Edit: January 26, 2010, 08:04:20 AM by rejetto » Logged
MarkV
Insane poster
*****
Offline Offline

Germany Germany

Posts: 722



View Profile
« Reply #1 on: January 26, 2010, 08:16:29 AM »

Would this be permanent switches or temporary overrides? Will they be written back to the INI or registry.
Logged

Welcome to Twinkle Park! Grin
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11756


View Profile
« Reply #2 on: January 26, 2010, 08:37:59 AM »

permanent, as permanent is when you click on the menu options.


i mean, your system may have a power failure before the options are saved to disks, and in this case changes would be lost. Tongue
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 January 07, 2012, 02:54:04 AM
anything