Commit d044efc3 authored by Ivan Tyagov's avatar Ivan Tyagov

Run alarm every 30 minutes so enough time to finish previous run. Better check...

Run alarm every 30 minutes so enough time to finish previous run. Better check list of installed bt5.
parent 136c40b0
......@@ -42,7 +42,7 @@
</item>
<item>
<key> <string>periodicity_minute_frequency</string> </key>
<value> <int>15</int> </value>
<value> <int>30</int> </value>
</item>
<item>
<key> <string>periodicity_month</string> </key>
......
......@@ -11,8 +11,10 @@ if configurator == None:
return
# install configurator if not intalled
if configurator.getCurrentStateTitle() != "End":
installed_bt5_list = [x.getTitle() for x in context.portal_templates.getInstalledBusinessTemplateList()]
if "erp5_wendelin" not in installed_bt5_list:
# nothing installed, thus do it
context.log("START auto-configuration.")
context.ERP5Site_bootstrapScalabilityTest(user_quantity=0, setup_activity_tool=False, create_test_data=False, set_id_generator=False)
else:
context.log("All configured. Nothing to do.")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment