How to reload templates without reboot
Posted: Sun Sep 07, 2014 10:46 am
In some situations it might come handy to have the templates used for ftp upload or script execution reloaded without doing a reboot (which does an automated reload on start-up) and without pressing the reload button at the web interface.
Therefore, there is a script at "http://templates.meteobridge.com/reloadtemplates.sh" that can be executed at certain time of day or in a periodically manner.
To have the templates every full hour reloaded you have to define a push service like this:
Therefore, there is a script at "http://templates.meteobridge.com/reloadtemplates.sh" that can be executed at certain time of day or in a periodically manner.
Code: Select all
#!/bin/sh
#
### reload templates; no parms
/home/meteobridge/meteobridge.cgi 'scriptload=yes&reloadftp=yes&save=yes&page=6' >/dev/null 2>/dev/null
exit 0