Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Tip

This is the latest version of PowerSync connector


Add the following cron jobs to your .magento.app.yaml file:

Code Block
languagebash
# PowerSync Magento 2 cron jobs
crons:
    sforce-incoming:
        spec: "*/5 * * * *"
        cmd: "php bin/magento tnw_salesforce:cron:run incoming -a"
    sforce-queue-cleanup:
        spec: "* * * * *"
        cmd: "php bin/magento tnw_salesforce:clean:queue"
    sforce-log-cleanup:
        spec: "*/5 * * * *"
        cmd: "php bin/magento tnw_salesforce:clean_system_logs"
    cronrun_consumers_group:
        spec: "* * * * *"
        cmd: “php"php bin/magento cron:run --group consumers”consumers"
    tnw_salesforce_crons_group:
        spec: "* * * * *"
        cmd: “php"php bin/magento cron:run --group tnw_salesforce_crons”crons"


You also may need to make the following modifications in your .magento.env.yaml file

...