I would like to create shell that could be called from cron to find all running java processes by their given PID that are older than 4 hours from the current time:
ps -ef |grep java....(time > 4hrs + current)
Moreso, I would like to have the shell kill all said processes .
I'm up on the cron, but having trouble developing the shell. Any ideas would be greatly appreciated.
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes. I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard.
The reason is the 'save box mode' in adobe reader X.
Many people think the protected Mode of adobe reader x is only to stop the write access.
But this fe…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…