+ Reply to Thread
Results 1 to 5 of 5

Thread: Reset after an hour

  1. #1
    ethanwmail-ewjz54 is offline x10Hosting Member ethanwmail-ewjz54 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    3

    Question Reset after an hour

    Hi. As part of my website, I am going to start a 'Software Demos' site, allowing users to demo software like WordPress and phpBB. However, I was wondering if the web software could reset itself after every hour?

    Thanks!

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Reset after an hour

    What do you mean, exactly, by "reset"? Do you want to allow visitors complete backend access, restoring a default configuration and removing all posts? This would allow visitors, if unchecked, to do quite a bit of damage. You should also look into imposing limits on the amount & types of activity (limiting the size & number of postings, preventing file upload, preventing any altering of the codebase, such as installing extensions). The safest (only safe?) option would be to run everything on a virtual server, which would automatically shut down every hour and be replaced with a pristine copy.
    Last edited by misson; 08-13-2010 at 03:45 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    ethanwmail-ewjz54 is offline x10Hosting Member ethanwmail-ewjz54 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    3

    Re: Reset after an hour

    Quote Originally Posted by misson
    would automatically shut down every hour and be replaced with a pristine copy.
    That is my aim.

    Thanks, misson!

  4. #4
    worldwise001's Avatar
    worldwise001 is offline x10Hosting Member worldwise001 is an unknown quantity at this point
    Join Date
    Dec 2007
    Location
    Carbondale, IL
    Posts
    57

    Re: Reset after an hour

    Easiest and fastest way would be to set up a cron to delete and refresh the backend database every hour.


  5. #5
    ethanwmail-ewjz54 is offline x10Hosting Member ethanwmail-ewjz54 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    3

    Talking Re: Reset after an hour

    Thanks, worldwise001! :D

    If possible could you guide me through this process?

    Thanks again!!

+ Reply to Thread

Similar Threads

  1. 3 suspensions in 1 hour?
    By scylla in forum Free Hosting
    Replies: 1
    Last Post: 01-20-2010, 12:10 PM
  2. 100 emails per hour
    By 092565 in forum Free Hosting
    Replies: 1
    Last Post: 01-16-2010, 04:55 PM
  3. Replies: 1
    Last Post: 10-04-2008, 10:47 AM
  4. Cossacks down for over an hour now.
    By skeets in forum Free Hosting
    Replies: 1
    Last Post: 07-04-2008, 08:14 PM
  5. $521.05 in 1 hour !
    By admintwo in forum Earning Money
    Replies: 5
    Last Post: 01-03-2008, 05:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers