Solved

vbscript to continuously run on background

Posted on 2016-09-20
4
37 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 52

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

736 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