473,378 Members | 1,438 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,378 software developers and data experts.

Convert vbscript wab page to run as scheduled task on a server

This may be a dumb question but here goes.

I have a retail web-site and back end order processing system built with vbscript that is currently hosted on GoDaddy on a shared hosting platform (i.e. I have no access to server based schedulers).

We are about to move to a dedicated server so I can now schedule "server" processes.

We have a number of ".asp" pages that perform tasks such as tidying up the database that right now we run by hand.

Is there any way to set-up a "server" based task that goes to a specific URL? It would need to login to the page automatically.

Alterntively is there a way to take the VBscript out of the .asp page and convert it to VisualBasic (or some other language) that would create an executeable file on my Windows 2003 server?

I have seen some posts that talk about converting vbscript to other web page scripting language but nothing that talks about converting to server side executeable code.

Thanks for any advice!
Jan 20 '08 #1
2 2487
markrawlingson
346 Expert 100+
I don't know about executable; my knowledge of Visual Basic application programming is limited. Recently, I was able to convert a 30kb list of functions developed in ASP to a registerable .dll file with Visual Basic though, that's pretty close - so i'd venture a guess at yes, especially since vbscript/asp is just a run down version of VB. As long as you add in all the necessary references etc.

It sounds like you're trying to run a windows based CRON job, am I right? You want to automatically execute a script at a specified interval.. everyday, every hour, every 5 minutes, or whatever...?

If that's the case, I did stumble across a page a while back that explained how to do this with window scheduler, I found it interesting so I bookmarked it.

Check it out, might be a good solution for you if that's what you're trying to do.

http://drupal.org/node/31506

I must point out, though, that i have never used this or even tested it.

Hope that helps.
Sincerely,
Mark
Feb 8 '08 #2
CroCrew
564 Expert 512MB
Hello teecee99,

markrawlingson is right, as soon as you get your server you will want to look in to making a “Windows Server Service” and is easily done with Visual Studio.

What type of database are you using? If your database environment allows the use of Stored Procedures and or Triggers then you could use them. They are powerful tools in keeping databases regular. Many time under used to people that have access to use them.

Check out if you have the ability to use them and if you do; learn more about them. You just might find that you can simplify your role as database administrator when using them.

Hope all works out for ya~
Feb 8 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Bill | last post by:
I have an asp page that will be updating the data from one database into my sql server database every 3 hours. I'd like to write code that will tell the page to automatically run every three hours....
3
by: Greg D. Moore \(Strider\) | last post by:
Ok, I thought this one would be easy. I have a stored proc: master.dbo.restore_database_foo This is on database server B. Database server A backs up database foo on a daily basis as a...
2
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
14
by: Mark C. | last post by:
I'm trying to call a batch file that I've built using the FileSystemObject and CreateObject("Wscript.Shell"), oShell.Run... in an asp script. Naturally, I can get the script to work from a command...
3
by: Grant Ord | last post by:
I've never found a simple answer to this yet it must be an issue for a lot of web applications. Basically I want to execute code in a web application at a specific time and/or intervals (like...
4
by: RSH | last post by:
I have an application that creates an Access version of a SQL Server database and then it moves the resulting database to an ftp server for the client to download and run reports against etc. The...
0
by: Myster Edd | last post by:
I have a strange problem that I think deals with security on SQL 2005. I have a scheduled task that runs on a Windows 2000 machine. It calls a vb script which creates a connection to SQL Server. ...
1
by: Myster Edd | last post by:
I have a strange problem that I think deals with security on SQL 2005. I have a scheduled task that runs on a Windows 2000 machine. It calls a vb script which creates a connection to SQL Server. ...
9
by: jdaelhousen | last post by:
I have a bit of a problem I'm hoping someone can shed some light on... I have a VB.Net console application written in VS 2003 that produces a .exe file that now sits on a Windows 2000 server...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.