This bundle allows you to reinstall the platform periodically while displaying a counter allowing you to inform every users of the time remaining before it happens.
In order to initialize the "time remaining" counter, you need to restart the platform once. Go into the DemoBundle/Resources/scripts directory and run:
sudo php reinstall.php
Setup a cron that fires the reinstall script periodically doc.
sudo crontab -e
Edit the Resources/config/parameters.yml file to reflect the cron period.
claroline.demo_bundle.period: 7200 #seconds
If you want the platform to redirect to a "reinstall" page when the script is working, run:
php app/console claroline:demo:replace_web
If you want to display the time remaining counter, edit the Resources/config/parameters.yml