I am running a cms demo site, mainly though not limited to PHP-Nuke and
it's forks.

What I am trying to do, though not having much luck is have my demo
sites totally erased every 2 hours and have it rebuilt via a cronjob.

What it need to do is:
Delete the dir
recreate the dir and extract a gzip file
delete a mysql database
re-import a sql file and rebuild the database

I want to have this all automated via a cronjob.

If anyone could help me I would be greatly appreciated, and all credits
will be given and advertised on our site.

Paul
Nuke Choice
http://www.nuke-choice.com