You wouldn't use any extension to actually reset the site, since the process requires you to wipe out the database.
You need to write a PHP script and CRON job to:
You need to write a PHP script and CRON job to:
- Drop (delete) the database, or purge (empty) the database tables of all data; (this may not mean all tables, it could just be those associated with a particular extension but depends on your specific intention); and
- Recreate the database or its tables and re-populate the Demo site's default data.
- Schedule the CRON for whatever schedule you want it to be e.g. daily - every 24 hours.
- You need some sort of visual indicator of the reset within your site e.g. a countdown timer module (that's the easy part), such as https://extensions.joomla.org/extension/count-down/.
Statistics: Posted by AMurray — Sat Oct 12, 2024 10:23 pm