473,394 Members | 1,765 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.

Scheduling Tasks on a Shared Server (cron disallowed)

304 100+
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.
May 31 '07 #1
12 1639
pbmods
5,821 Expert 4TB
Changed thread title to better match contents.
Jun 4 '07 #2
Motoma
3,237 Expert 2GB
What can you do on your server?
You might be able to get away with writing your own 'cron' program.
Jun 5 '07 #3
gomzi
304 100+
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.
Jun 6 '07 #4
Motoma
3,237 Expert 2GB
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?
Jun 6 '07 #5
gomzi
304 100+
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.
Jun 6 '07 #6
Motoma
3,237 Expert 2GB
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?
Jun 6 '07 #7
gomzi
304 100+
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?
Jun 6 '07 #8
Motoma
3,237 Expert 2GB
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?
Jun 6 '07 #9
gomzi
304 100+
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.
Jun 6 '07 #10
Motoma
3,237 Expert 2GB
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.
Jun 6 '07 #11
gomzi
304 100+
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.
Jun 7 '07 #12
Motoma
3,237 Expert 2GB
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.
Jun 7 '07 #13

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

Similar topics

4
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...
3
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,...
0
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...
1
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...
3
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...
4
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...
7
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...
5
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...
4
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...
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:
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...
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?
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
jinu1996
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...
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.