πŸ‡©πŸ‡ͺGermany @bavramor

Account created on 14 January 2013, almost 12 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany bavramor

Okay, I see, thank you. The cron frequency settings in eca_base:eca_cron must have confused me a bit. So in any case ECA sends its request to the cron api and the Drupal cron actually executes it first. Ideally, both should run one after the other. Have I understood correctly now?

Now I'll see if it works as intended.

Thank you

πŸ‡©πŸ‡ͺGermany bavramor

Hallo JΓΌrgen ;)

First of all, thank you very much for your quick response. I have now made the UserSwitch after the cron event of Eca and then I check the view to send out the mail. I will now test this overnight to see if it works as desired.

But in any case, I have already correctly surmised that the core cron is different from the ECA cron event. So it probably doesn't matter when they run separately. Only always at the same time is probably unfavourable? Or do the two have any other influence on each other and is there anything else I need to be aware of?

Thanks for the help

ECA Export:

uuid: 854bec77-51a2-4a86-bf06-07508024432b
langcode: en
status: true
dependencies:
  config:
    - field.field.node.agent_anlegen.body
    - field.field.node.article.body
    - field.field.node.bonus_anlegen.body
    - field.field.node.grund_anlegen.body
    - field.field.node.page.body
    - field.field.node.paragraphs_ief_example.body
    - field.storage.node.body
    - views.view.erinnerungsmodul_ansicht_einen_monat
  module:
    - eca_base
    - eca_render
    - eca_user
id: process_tcsl0rh
modeller: bpmn_io
label: 'Erinnerungsmodul grafisch'
version: ''
weight: -10
events:
  Event_08nnbjr:
    plugin: 'eca_base:eca_cron'
    label: Cron
    configuration:
      frequency: '0 */1 * * *'
    successors:
      -
        id: Activity_1yzoqbg
        condition: ''
conditions: {  }
gateways: {  }
actions:
  Activity_0qsiv4k:
    plugin: 'eca_render_views:views'
    label: 'Views ausgeben'
    configuration:
      view_id: erinnerungsmodul_ansicht_einen_monat
      display_id: default
      arguments: ''
      name: ''
      token_name: viewergebnis
      weight: ''
      mode: append
    successors:
      -
        id: Activity_00bl874
        condition: ''
  Activity_00bl874:
    plugin: action_send_email_action
    label: 'Mail verschicken'
    configuration:
      recipient: landwehr@system-labor.de
      subject: 'Ich bin die Testnachricht'
      message: |-
        Ich bin die Testnachricht:

        [node:title]
        [user:account-name]
        [user:display-name] 
        [comment:body] 
        -----------------------------------
        [viewergebnis]
      replace_tokens: true
    successors: {  }
  Activity_1yzoqbg:
    plugin: eca_switch_account
    label: 'set user permissions'
    configuration:
      user_id: '1'
    successors:
      -
        id: Activity_0qsiv4k
        condition: ''
Production build 0.71.5 2024