The following command prints the date and the result of the ls command into a log file.
java -jar admin-tool.jar -command "echo ”date”; ls" > admin.log