This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to run CQ daily maintenance operations, excluding TarPM Optimization and Tar Index Merge | |
# Author : Jayan Kandathil | |
# Version : 0.4 | |
# Last updated : May 24, 2013 | |
# Instructions : Copy to CQ's /bin folder, make necessary changes, enable the execute bit and run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.PrintWriter; | |
import java.text.DecimalFormat; | |
import javax.servlet.http.HttpServletResponse; | |
final long lngStart; | |
final long lngEnd; | |
final double dblElapsedTime; | |
// Get timestamp | |
lngStart = System.currentTimeMillis(); |
NewerOlder