1
smdcom
Make XOOPS Demo Site?

anyone know how to make XOOPS demo site? such as opensourcecms.com do?

all system will reset every two hours?

anyone? know how to do that...

2
hervet
Re: Make XOOPS Demo Site?
  • 2004/9/4 13:51

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Yes, I beleive that they are copying a full install every two hours + a reset of the databases.

Surely a cron task under Linux/Unix

3
smdcom
Re: Make XOOPS Demo Site?

Quote:

hervet wrote:
Yes, I beleive that they are copying a full install every two hours + a reset of the databases.

Surely a cron task under Linux/Unix


but what command to be put in cron jobs?? what command to reset the database?

i'm using cpanel to use cron

4
Jan304
Re: Make XOOPS Demo Site?
  • 2004/9/4 18:51

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


Cron task is probably calling a batch file that dumps the database, and then probably dumps a sql file to database.

That batch might also empty templates_c and cache and reset the upload map to its original content...

5
smdcom
Re: Make XOOPS Demo Site?

do u know what is the command?

command to empty MySQL data...

anyone?

6
Bender
Re: Make XOOPS Demo Site?
  • 2004/9/5 1:34

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


You might wanna check out this (freeware) product (script):

http://www.bitesser.de/freeware/script.php?id=1&PHPSESSID=452664cf6998154913f1ce116aa8c13a

They also have an english forum behind the community button on that page. I think you will be able to use this PHP script and call it from your cron job.
(though i never tried it myself ... just something i noted for myself in case i ever needed it)

7
smdcom
Re: Make XOOPS Demo Site?

i will try... thanks dude..

but i someone else have any different, please say so..

8
jmass
Re: Make XOOPS Demo Site?
  • 2004/9/5 2:35

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


This should be as simple as:

cp -rf /original_site/* /new_site

and a simple sql script to delete the DB and dumpa the new one.

JMass

9
smdcom
Re: Make XOOPS Demo Site?

Quote:

jmass wrote:
This should be as simple as:

cp -rf /original_site/* /new_site

and a simple sql script to delete the DB and dumpa the new one.

JMass


can u give me the details about this command...

seems like the mysqlcommander doesn't work..

hhmm... anyone have other ideas? and have demo site for XOOPS

10
smdcom
Re: Make XOOPS Demo Site?

i'm trying to do XOOPS demo site.. hhmm... anyone have idea how to do that?

Login

Who's Online

239 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits