gsg Posted January 11, 2016 Share Posted January 11, 2016 Is there an easy way to get tcadmin to put the current date and time in a command line? For some log files, you have to specify the name of the logfile, and when it includes the date, I can't figure out how to put said date in. Link to comment Share on other sites More sharing options...
Dennis Posted January 11, 2016 Share Posted January 11, 2016 For most games, you can specify a file that the game should use to log the output. Link to comment Share on other sites More sharing options...
gsg Posted January 17, 2016 Author Share Posted January 17, 2016 yes, thats what i'm saying. I want to include the current date and time as part of the log file name. and that has to be specified in the command line. I can't figure out how to get tcadmin to parse the command line in such a way as to include the date and time. Link to comment Share on other sites More sharing options...
Dennis Posted January 17, 2016 Share Posted January 17, 2016 And what I meant was that you can set the name of the log file in the server's command line most of the time. Link to comment Share on other sites More sharing options...
gsg Posted January 20, 2016 Author Share Posted January 20, 2016 Ok... maybe an example will help.. In my command line ( for linux server ), lets say its -run -server -log DATEGOESHERE What variable or value do I need to use to get it to replace DATEGOESHERE with the.. date. I tried `date %y-%m-%d` but it just processes that directly and doesn't replace it with the actual date. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now