What I want to do is to set up a site for visitors to test/try using a perl flatfile cms. Then every two hours I want a script to delete all files (scripts and datafiles) and make a fresh install - Automatic reset and ready for visitors to test/try.
My problem is that I have no idea how to do this. I guess I need a script (perl) to delete the old files, one to copy new files into the dir and one to know when this should happen... But maybe all this can be done from one script?
Is there anyone who knows something about this and can help me?