Skip to main content

CLI commands

bin/magento mirasvit:gdpr-cookie:restore-default-groups

This command restore default cookie groups. It might be useful if you accidentally deleted some of the default cookie groups. You need to delete existing cookies and cookie groups to create default ones. After running this command, all cookie groups will be reverted to the default groups.


Run GDPR cron jobs

bin/magento mirasvit:gdpr:cron

This command triggers all GDPR cron jobs such as mst_gdpr_auto_remove, mst_gdpr_anonymize_old_order, mst_gdpr_handle_requests. It might be useful for testing purposes if you don't want to wait until cron jobs will be triggered. After running this command, all GDPR cron jobs will be triggered.