Categories
Linux Windows

Run Scheduled Task Batch File to Run Minimized on Task Bar

Problem: Batch file running Perl script to parse and copy SQL log files every five minutes as a Scheduled Task in Windows was creating a DOS window on the console. This made working on the server difficult and dangerous.

Solution: Create another batch file for the Scheduler to run with the commands ‘start /min ‘
The old batch file must have the command ‘exit’ at the end of it for the DOS window to close.

Leave a Reply

Your email address will not be published. Required fields are marked *