Hi,
I would like to execute some vb code at regular intervals.
But according to my hosting provider, I wouldn't be able to do it in a shared hosting environment.
So, I would like to know, as to what my options are in that case.
Thanks,
Gomzi.
12 1639
Changed thread title to better match contents.
What can you do on your server?
You might be able to get away with writing your own 'cron' program.
What can you do on your server?
You might be able to get away with writing your own 'cron' program.
Well, quite many things I guess.
Can you tell me as to what might be required for scheduling tasks?
Because since its a shared one, I clearly don't have access to either cron or windows scheduler.
Thanks,
Gomzi.
Well, quite many things I guess.
Can you tell me as to what might be required for scheduling tasks?
Because since its a shared one, I clearly don't have access to either cron or windows scheduler.
Thanks,
Gomzi.
Well, first off, what kind of hosting is it? Is it a web hosting project or a shell host or some other type of host?
Do you have shell access? VNC/RDP access?
Well, first off, what kind of hosting is it? Is it a web hosting project or a shell host or some other type of host?
Do you have shell access? VNC/RDP access?
Am using the shared hosting account for hosting my website.(Hope you asked me that only!).
No. I don't have a shell access. Not sure of what VNC OR RDP are. But haven't come across anything of that sort on the control panel of my hosting account.
Am using the shared hosting account for hosting my website.(Hope you asked me that only!).
No. I don't have a shell access. Not sure of what VNC OR RDP are. But haven't come across anything of that sort on the control panel of my hosting account.
What web-hosting technologies does your host support? ASP, JSP, PHP, MSSQL, MySQL, PostgreSQL? What is your site programmed in? Is this a Windows or Unix host?
What web-hosting technologies does your host support? ASP, JSP, PHP, MSSQL, MySQL, PostgreSQL? What is your site programmed in? Is this a Windows or Unix host?
Well, my website has been developed using .net 2.0
the site is hosted on a shared windows hosting account.
i am using mysql as the database.
I had also talked to them. They said that in a shared hosting account i don't have access to the scheduler(windows), and if i need access to the cron, they i will have to go for the linux account. But, they also said that in a linux account my site wouldn't run since its developed in .net. Strange! Don't know what they expect me to do!!? May be switch over to a dedicated server?? maybe.
So, do I have any options?
So, do I have any options?
Your other options will depend on what you need to accomplish. A lot of people think that they need to have a process executed at specific intervals, when in reality it can be faked quite easily.
Would you care to elaborate on your needs?
Your other options will depend on what you need to accomplish. A lot of people think that they need to have a process executed at specific intervals, when in reality it can be faked quite easily.
Would you care to elaborate on your needs?
okay. sure.
Here's what I want to accomplish...
My website reads RSS and Atom feeds. As of now, I have to update the feeds at regular intervals manually by going to the admin section of my site. So, I thought that if I could automate that procedure, then I wouldn't have to worry about the updation taking place properly.
okay. sure.
Here's what I want to accomplish...
My website reads RSS and Atom feeds. As of now, I have to update the feeds at regular intervals manually by going to the admin section of my site. So, I thought that if I could automate that procedure, then I wouldn't have to worry about the updation taking place properly.
Now that is an easy one.
Keep track of the last time you have updated any particular feed, as well as the feed itself in a database. When a feed is requested, check to see when the last update was, if this is older than you would like it to be, perform the update, and change the contents of your database appropriately.
This will save your system bandwidth, and get the same thing accomplished as a cron job would.
Now that is an easy one.
Keep track of the last time you have updated any particular feed, as well as the feed itself in a database. When a feed is requested, check to see when the last update was, if this is older than you would like it to be, perform the update, and change the contents of your database appropriately.
This will save your system bandwidth, and get the same thing accomplished as a cron job would.
Hmm.... nice solution man.
Don't know why it didn't strike me!! :)
Thanks a lot.
Gomzi.
Hmm.... nice solution man.
Don't know why it didn't strike me!! :)
Thanks a lot.
Gomzi.
Hope it works out for you. Come back if you have any more problems.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: L'Angel Admirable |
last post by:
Hi,
I have an auction site running. Now I want the auction to be able to
automatically send a mail msg to the seller after it expires. How do I do
it? Obviously there is some sort of way that I...
|
by: Greg Bryant |
last post by:
I'm doing some work for a company that has an auction site running in
coldfusion. They're not real happy with it, and it needs a major overhaul,
so I'm looking at redoing it, and while I'm at it,...
|
by: steve |
last post by:
I've seen questions about scheduling ASP scripts posted in this group
many times so hopefully this will be useful information to a few
people.
I just wanted to let you all know that our script...
|
by: jeffb |
last post by:
I am interested in finding out how DB2 DBAs automate tasks/jobs in
their environments.
What platform do you run DB2 on (Unix, Linux, Mainframe, Windows)?
If you currently have a solution, what...
|
by: Muscha |
last post by:
Hi,
In our application we need to have a high performance scheduling framework.
We want to be able to say for item 21 do an update on such and such time. We
will have around 1 million items of...
|
by: Dinsdale |
last post by:
I'm looking at adding scheduling features to an application and I
wanted to ask the community about any experience with scheduling
components, either open source like from code project or from a...
|
by: Ramashish Baranwal |
last post by:
Hi,
I am trying to execute some tasks periodically, those familiar with
unix can think of it as equivalent to cron jobs. I have tried looking
around, but couldn't find a way. Would appreciate...
|
by: scriptee |
last post by:
Hi ,
I wan to run a php script using cron on my host server.
Its a Linux based server and I am allowed to use cron.
I want to run a php script with includes. I tried some suggestions which...
|
by: Rahul |
last post by:
Hello All,
I have come accross a very interesting as well as a very complex
scenario with my current project. My worry is the scheduling of email
messages and execution of that based on the cron...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
| |