Scheduled Tasks/ Cronjobs
Last updated
Was this helpful?
Last updated
Was this helpful?
As described in bonus point activation, you can specify a period after which unused bonus points automatically expire. This calculation is executed each time the customer logs in, however you can also run the check via the command line, either manually or using a cronjob:
You can configure this activation process in the settings for automatic . If the defined conditions are met, the customer receives the points either after logging in or when the scheduled task is automatically performed by Shopware. The task prems_bonus_system.bonus_point_activation_task is automatically created in Shopware upon plugin installation, and typically, no adjustments are needed here.
If you have and a reminder e-mail before the points expire was set up, the scheduled task prems_bonus_system.points_expiration_notification_task is executed automatically by Shopware. A customer with expring points will get a notification e-mail automatically.