Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-28-2012, 04:37 PM   PM User | #1
ben.yanke
New to the CF scene

 
Join Date: Sep 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
ben.yanke is an unknown quantity at this point
Long-Run Scripting Server

Does anyone know of a good host or solution for running a PHP project that needs to run weekly, and can take about 6 hours on each run? That run could also be split into daily segments, running about an hour or two a day. It doesn't need to be on a domain, but it does need to be accessible to multiple people around the country, so it couldn't be something local.

This script goes through a list of URLs and checks to see if google anylitics is installed on each one.

Last edited by ben.yanke; 11-28-2012 at 05:01 PM..
ben.yanke is offline   Reply With Quote
Old 11-28-2012, 05:34 PM   PM User | #2
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,513
Thanks: 45
Thanked 439 Times in 428 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
I think in reality, you're going to need a VPS or a dedicated server as not many hosts will allow you to run something as resource intensive as that on a shared host. If a shared host finds you hogging their CPU cycles like that they'll typically shut you down.

For what its worth, you could always install a WAMP system on a normal PC at your home / office and let run the code.
__________________
Please wrap your code in [php] tags. It is a sticky topic and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote
Old 11-28-2012, 06:11 PM   PM User | #3
Redcoder
Regular Coder

 
Redcoder's Avatar
 
Join Date: May 2012
Location: /dev/couch
Posts: 309
Thanks: 2
Thanked 46 Times in 45 Posts
Redcoder has a little shameless behaviour in the past
A service that offers Cronjobs too.
__________________
For professional Hosting and Web design.....


NetEssentials.co.uk
Redcoder is offline   Reply With Quote
Old 11-28-2012, 07:12 PM   PM User | #4
ben.yanke
New to the CF scene

 
Join Date: Sep 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
ben.yanke is an unknown quantity at this point
Quote:
Originally Posted by tangoforce View Post
I think in reality, you're going to need a VPS or a dedicated server as not many hosts will allow you to run something as resource intensive as that on a shared host. If a shared host finds you hogging their CPU cycles like that they'll typically shut you down.

For what its worth, you could always install a WAMP system on a normal PC at your home / office and let run the code.
I guess I was wondering if there is any service that allows you to do something like this.
ben.yanke is offline   Reply With Quote
Old 11-28-2012, 09:29 PM   PM User | #5
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,513
Thanks: 45
Thanked 439 Times in 428 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Head over to webhostingtalk.com - there will be plenty of hosts that will try to accomodate you somehow but you'll have to be honest about your intentions as many will not want to touch you due to the resource issue.
__________________
Please wrap your code in [php] tags. It is a sticky topic and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote
Old 11-29-2012, 02:34 AM   PM User | #6
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
I would suggest trying one of the PAAS services with PHP support as that may be all you need. You'll have to do some research, but a few of your options are:

https://phpfog.com/
https://pagodabox.com/
http://www.scalarium.com/

Most of the PAAS companies offer a low-end option for testing that may be all you need.

If you need more control and you're familiar with the command line at all I would suggest just getting a cheap Rackspace Cloud Server, Amazon EC2 instance, or similar VPS to run your script on. You can remove the server when you aren't using it so you only pay for the hours that it's on, but even if you leave it on the lowest level Cloud Server is only ~$16 a month.
Inigoesdr is offline   Reply With Quote
Old 01-20-2013, 09:38 PM   PM User | #7
ben.yanke
New to the CF scene

 
Join Date: Sep 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
ben.yanke is an unknown quantity at this point
Hi all, thanks for the help. I decided to run xampp locally.
ben.yanke is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:07 AM.


Advertisement
Log in to turn off these ads.