Controljob is a MS Windows command line program and can also be scripted in BAT or perl scripts.
It allows PStill and other command line tools to be used for scanning a directory (optional recursively) for jobs and convert/process them. It needs an installed and licensed PStill to run. Place the controljob.exe binary in the same location as pstill.exe so the license is found on startup.
Controljob can be used to build a kind of hot folder functionality for PStill and other converter tools. Use Option -l, -s # and -g # for this purpose. Controljob is not limited to calling PStill, in fact it can callup most any command line program that accepts command line parameters but it will only work when PStill is installed and licensed.
Usage: controljob [Optionen] regex-pattern "command @1@ options ..." Wildcards: '@1@' is replaced by the current file name (full path) Wildcards: '@2@' is replaced by the current file name (no path, no extension) Wildcards: '@3@' is replaced by the current file name extension (no '.') Wildcards: '@4@' is replaced by the current file name (full path, no extension) Options: -o logfile creates a log file -t logfile creates a single log file on success -d dir defines the root directory to run on -e errorfolder where to place error jobs (Command: retcode!=0) -r run recursive -l run permanent (looping) -s # wait # Sec between loops (Needs -l) -g # test # Sec before access to a file -E erase files after processing [WARNING! CHECK SETUP AND OPTIONS FIRST! POSSIBLE DATA LOSS!!] Example: controljob -d d:\input *.pdf "dir @1@" Example: controljob -d d:\input *.eps "c:\program files\gpstill\pstill -M default -o d:\results\@2@.pdf @1@" Example: controljob -d d:\input *.* "echo @1@ @2@ @3@ @4@" (Last example just returns the wildcard variables so you can see what it is doing) ATTENTION: Be sure to test your installation and setup before running with option -E ! Controljob will not ask for confirmation and just erase all files in the run.
Frank Siegert disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness, in no event shall Frank Siegert be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.
By clicking on the download link or downloading the software you accept above disclaimer.
ALL NAMES AND SYMBOLS ARE USED FOR IDENTIFICATION PURPOSE ONLY. PSTILL IS A REGISTERED WORDMARK OF FRANK SIEGERT. POSTSCRIPT, ADOBE, ACROBAT, DISTILLER, PDF AND OTHERS NOT MENTIONED HERE ARE TRADEMARKS OR REGISTERED TRADEMARKS OF ADOBE SYSTEMS INCORPORATED. SUN, SPARC, SOLARIS AND OTHERS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF SUN INC. HP, HPUX AND OTHERS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF HEWLETT PACKARD INC. AIX IS A REGISTERED TRADEMARK OF IBM INC. ALL OTHER BRAND OR PRODUCT NAMES MENTIONED ON THIS PAGE, IN THE IDENTIFICATION PRINT OUT OF THE SOFTWARE OR ITS DOCUMENTATION ARE THE TRADEMARKS OR REGISTERED TRADEMARKS OF THEIR RESPECTIVE HOLDERS. PDF AND PDF LIST OF OPERATORS AND DATA STRUCTURES ARE COPYRIGHT ADOBE SYSTEMS INCORPORATED. PDFMARKER WAS WRITTEN ACCORDING TO THE COPYRIGHT STATEMENT AS OUTLINED IN THE ADOBE PORTABLE DOCUMENT FORMAT REFERENCE MANUAL VERSION 1.2, PAGE 22/23. THIS WEB PAGE CONTAINS LINK TO THIRD PARTY WEB SITES WHICH ARE NOT UNDER CONTROL OF FRANK SIEGERT. THESE LINKS ARE ONLY PROVIDED FOR CONVENIENCE AND THE INCLUSION OF THESE LINKS DOES NOT IMPLY ANY RESPONSIBILITY FOR THE CONTENTS ON THESE SITES. THIS WEBPAGE IS LOCATED IN GERMANY. NO FURRY LITTLE ANIMALS WERE HARMED IN THE PRODUCTION OF PDFMARKER.
Data Protection Statement / Datenschutzerklärung