473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

A Non ASP Guy Needs Help with a Solution

Hi there,

I'm not an ASP guy and I'm in need of finding out a solution to a
problem that's ASP related.

A site that I'm helping someone migrate to a new box (currently
internal and now going to an ISP), was written pretty poorly. A
script, written in ASP/VB, runs once an hour to check the database for
some data based on that time and then sends out some emails.

The bad part about this, the script uses a meta refresh to recall the
script every hour, meaning, it's not called by some cronjob/atjob and
a browser needs to ALWAYS be open on the box to call the script.

So my question is...without having to go rewrite code that I'm not
familiar with, how can we best approach a solution? It's on an IIS
box.

I'm assuming there's no way I can schedule some sort of job that calls
ASP by command line and runs the script, every hour?

Any input on a solution to this would be so much appreciated. Thanks!

-Mike
Jul 19 '05 #1
2 1427
> I'm assuming there's no way I can schedule some sort of job that calls
ASP by command line and runs the script, every hour?


Yes, but you should re-write as VBS (there will be minimal changes). There
is no need to have a browser mixed into the equation.

http://www.aspfaq.com/2143
Jul 19 '05 #2
ra******@ratlhead.com (ratlhead) wrote in message news:<fd**************************@posting.google. com>...
Hi there,

I'm not an ASP guy and I'm in need of finding out a solution to a
problem that's ASP related.

A site that I'm helping someone migrate to a new box (currently
internal and now going to an ISP), was written pretty poorly. A
script, written in ASP/VB, runs once an hour to check the database for
some data based on that time and then sends out some emails.

The bad part about this, the script uses a meta refresh to recall the
script every hour, meaning, it's not called by some cronjob/atjob and
a browser needs to ALWAYS be open on the box to call the script.

So my question is...without having to go rewrite code that I'm not
familiar with, how can we best approach a solution? It's on an IIS
box.

I'm assuming there's no way I can schedule some sort of job that calls
ASP by command line and runs the script, every hour?

Any input on a solution to this would be so much appreciated. Thanks!

-Mike


Try www.script-schedule.com
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Raaijmakers, Vincent \(GE Infrastructure\) | last post by:
In my enthusiasm of separating my unittests from my business logic modules, I encounter some problems in my path setting. Can solve them, but so ugly. Needs suggestions in the right way to do it. ...
4
by: dmiller23462 | last post by:
I'm trying to create a submission page for users to request PC/LAN Access....If they select "Yes" in the field asking about if they need Non Standard Software, I want several other HTML fields to...
19
by: David Logan | last post by:
We need an additional function in the String class. We need the ability to suppress empty fields, so that we can more effectively parse. Right now, multiple whitespace characters create multiple...
4
by: lars.uffmann | last post by:
Hey everyone! I am (still) working on a project that I took over from former students, so don't blame me for the criminal approach on coding *g* The problem I have is fairly easy and while I...
28
by: john_sips_tea | last post by:
Just tried Ruby over the past two days. I won't bore you with the reasons I didn't like it, however one thing really struck me about it that I think we (the Python community) can learn from. ...
3
by: Mike Lewis | last post by:
I need to add a reference to a custom component in a web service. I created a new web service using VS2005 but there was no place to add a reference in the Solution Explorer. I could use Notepad...
2
by: sgMuser | last post by:
Hi, I am not a good developer of Javascript codes. Needs this help to make some modification to this famous free javascript from Anarchos. i am using this in one of my webpage. What it does is,...
16
by: Brian Tkatch | last post by:
Is there a way to check the order in which SET INTEGRITY needs to be applied? This would be for a script with a dynamic list of TABLEs. B.
19
by: dickinsm | last post by:
Here's an example of a problem that I've recently come up against for the umpteenth time. It's not difficult to solve, but my previous solutions have never seemed quite right, so I'm writing to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.