Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,316
    Thanks
    58
    Thanked 525 Times in 512 Posts
    Blog Entries
    5
    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.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    Regular Coder Redcoder's Avatar
    Join Date
    May 2012
    Location
    /dev/null
    Posts
    333
    Thanks
    2
    Thanked 47 Times in 46 Posts
    A service that offers Cronjobs too.

  • #4
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,316
    Thanks
    58
    Thanked 525 Times in 512 Posts
    Blog Entries
    5
    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.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #6
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    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.

  • #7
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi all, thanks for the help. I decided to run xampp locally.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •