Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl and windows scheduling

Status
Not open for further replies.

WxJ

Technical User
Jun 8, 2006
5
US
Hey all. I've seen a few topics here on similar subjects, so thought I'd try to get some help. I have a perl program scheduled to run every 5 minuntse (I have Windows XP). The program needs to collect data every 5 min, and I used to have it in an infinite loop but was looking to move it to a scheduler. The problem is that whenever it runs, my screen goes blank for a few seconds (presumably to run the program). Is there any way I can stop this from happening and have it run purely in the background?
 
In the scheduler, use the application wperl.exe instead of perl.exe. That will run the application without a command prompt window appearing. Of course, if you're piping errors and such to STDOUT, you'll want to change that as well.

- George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top