Solved

compiled perl script as background process

Posted on 2004-09-01
8
851 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

15 Experts available now in Live!

Get 1:1 Help Now