Solved

vbscript to continuously run on background

Posted on 2016-09-20
4
16 Views
Last Modified: 2016-11-05
Hi all!
I am looking for a vbscript code that doesn't take much of memory and lets a vbscript continuously run on the background without hogging the computer!
Thanks.
0
Comment
Question by:arihant jain
4 Comments
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 168 total points
ID: 41806110
>>a vbscript continuously run on the background without hogging the computer!
the vbscript itself does not continuously run on the background unless you're writing an infinite loop in the codes.

>>that doesn't take much of memory
that's depends on what kind of tasks the vbscript is doing.

for a better background handling, are you consider to write a service level program instead?
0
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 166 total points
ID: 41806245
Well, you wouldn't have it running continuously. If you wanted to run it often, then maybe running it via a Windows scheduled task would suffice.

What is the task doing?
0
 
LVL 35

Assisted Solution

by:Kimputer
Kimputer earned 166 total points
ID: 41806249
Depends also what you're trying to achieve. What about just using the task scheduler to fire the vbs script instead?

VBS with loop that fails, you will never know about it.

Failed VBS Task, can be run again the next time

Or as the other post says, service, also has the ability to restart.

Obviously, this is for small errors, with big ones, it doesn't matter which route, they will all stop working. This is just a comment for smaller temporary ones.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

759 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

18 Experts available now in Live!

Get 1:1 Help Now