473,326 Members | 2,148 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,326 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 1635
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.