Last modified by Aurelie Bertrand on 2025/02/07 10:13

Show last authors
1 {{ddtoc/}}
2
3 ----
4
5 DigDash Enterprise allows you to program the automatic refresh of your data.
6
7 = Prerequisites =
8
9 For scheduling to work :
10
11 * the scheduler must be started: go to the **Configuration -> Server Status** page and check the status of the scheduler. If it is stopped, click on [[image:1706526467080-910.png||queryString="width=16&height=18" height="18" width="16"]].
12 [[image:Ordonnanceur_état_serveur.png||alt="Ordonnanceur_démarré"]]\\
13 * the scheduler user must be entered (the same as the supervisor). Initialisation must be done from the **Configuration -> Server parameters -> Additional parameters -> Refreshments** page. Consult the [[Refreshments>>doc:Digdash.deployment.configuration.configuration_guide.scheduler.WebHome]] page for more details.
14
15 = Programming refreshes =
16
17 Refreshes can be programmed at three levels:
18
19 * Information portfolio
20 * Information {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}
21 * Data model
22
23 By default, refreshes use the Default **schedule: **automatic triggering every day at 8pm.
24 You can change the parameters of this default schedule in the [[Refresh Manager>>doc:Digdash.user_guide.studio.managers.Refresh_manager.WebHome]] the new settings will apply to new roles created afterwards (they will not apply to existing roles), or create a new schedule.
25
26 For a portfolio or a newsfeed, programming is done from the properties side panel in the **{{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}** tab: select the portfolio or the flow in the list and go to the **Programming **tab in the side panel.
27
28 By default, Flows are refreshed and synchronised at the same time as the information portfolio.
29
30 [[image:Schedule_refresh_flow.png||alt="Programmation_flux"]]
31
32 For a data model, programming is done from the **Refresh **tab in the data model configuration window.
33
34 [[image:Schedule_refresh_DM.png||alt="Programmation_modele_données"]]
35
36 For a selection of data models, programming is done from the **Configuration of several data models** box, displayed by right-clicking and then **Edit **... in the context menu.
37 [[image:DMmulti_rafraîchissement.png]]
38
39 = Add/edit a schedule{{id name="Ajouter_programmation"/}} =
40
41 To create a new refresh schedule :
42
43 1. In the case of a portfolio or {{glossaryReference glossaryId="Glossary" entryId="Flux"}}Flow{{/glossaryReference}}, first uncheck the **With portfolio** box.
44 1. Click on the **+** button.
45 ➡ The **Programming **dialog box is displayed.
46 [[image:Boite_programmation.png||queryString="width=362&height=333" alt="Boite_programmation" height="333" width="362"]]
47 1. In the **Triggering** drop-down list, select the refresh type and configure the corresponding parameters (click on the link for more details on configuring each type):
48 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Automatic (scheduler)**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Automatic_refresh/]]
49 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**With data**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_with_data/]]
50 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**On external event**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_event/]]
51 1*. [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**On** **flowopening**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/studio/Schedule_refresh/Refresh_open_flow/]]
52 1. You can save the defined schedule as a shared schedule. Shared refresh programming is programming that is saved and can be called up to program the refresh of other elements. Sharing can be done within a role or across all roles. To do this
53 1*. Check the **Save shared programming**... box.
54 1*. Enter a name and select the role to which you wish to share the refresh schedule, or **None** to share it with all roles.
55 See the page [[Refresh Manager>>doc:Digdash.user_guide.studio.managers.Refresh_manager.WebHome]] for more details on shared refresh schedules.
56 1. Click **OK**.
57 ➡ The schedule is added to the schedule list.
58
59 To edit a refresh schedule, select it, click the [[image:Bouton_editer.png||queryString="width=24&height=25" alt="Bouton_editer" height="25" width="24"]] button and modify the parameters as required.
60
61 = Deleting a program =
62
63 To delete a refresh programme, select it and click on the button [[image:Bouton_supprimer.png||alt="Bouton_supprimer"]].