Solved

compiled perl script as background process

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove Malware code from PHP file 6 82
Strange perl issue 6 128
How to send output of ping to syslog (with timestamp and optional comments) 3 212
quoting a comma separated list 20 84
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…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 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