Solved

compiled perl script as background process

Posted on 2004-09-01
8
840 Views
Last Modified: 2008-01-09
Hi,

We have a perl script compiled as an .exe file running every 10 minutes. This task is scheduled on a Windows 2000 server. But for some reason, someone has to log on local on the console.
Does anyone know how we can use this script without the need running on the console?

regards,

Berdt

0
Comment
Question by:berdt
  • 2
  • 2
8 Comments
 
LVL 2

Expert Comment

by:xscousr
ID: 11952043
run it as a service, you will need srvany.exe from the nt resource kit

http://support.microsoft.com/default.aspx?scid=kb;en-us;q137890

0
 
LVL 2

Expert Comment

by:xscousr
ID: 11952088
0
 
LVL 18

Accepted Solution

by:
kandura earned 500 total points
ID: 11952223
I have tons of scripts scheduled and they all run independent of the console. But then again, I don't compile them to exe's, I just schedule the scripts themselves. Are the permissions sufficient for the user running the scripts?
0
 
LVL 2

Author Comment

by:berdt
ID: 11954031
kandura, are you also talking about perl scripts or are you running plain batch files?

Permisssions are set right, the script is running fine, but only when someone is being logged on locally.
0
 
LVL 2

Author Comment

by:berdt
ID: 11954134
sorry kandura, I didn't read your answer well enough.
I'm going to the lab to test it out...

I'll be back!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now