Refresh Seo Index Cron per CLI?

Hallo,

gibt es eine Möglichkeit den Refresh Seo Index Cron per CLI laufen zu lassen?

Leider schafft der normale Cron es nicht, selbst mit 512MB Memory Limit kackt das Ding ab. Allowed Memory Size :frowning:

Jau klar.

php bin/console sw:refresh:search:index

 

Das ist der Search Index. Ich meinte den SEO Index. URL Rewrite

Hallo,

Schau mal hier:

wird auch mit 5.1.4 behoben. Per Konsole musst du mal schauen. Du kannst dir alle Befehle per ./bin/console auflisten lassen.

 

Morirz

Und was wenn 512mb nicht reichen? Ich möchte nicht für alle php Prozesse mehr Speicher erlauben, nur für diese Funktion.

bin/console gibt mir keinen CLI Command für die SEO URL’s. Soll es den wirklich geben?

sw:warm:http:cache -> macht den http cache

sw:refresh:search:index  -> macht die search tabelle für die suche

Undecided ?

Shopware version 5.1.3 - /production

Usage:
  command [options] [arguments]

Options:
  -h, --help Display this help message
  -q, --quiet Do not output any message
  -V, --version Display this application version
      --ansi Force ANSI output
      --no-ansi Disable ANSI output
  -n, --no-interaction Do not ask any interactive question
  -s, --shell Launch the shell.
      --process-isolation Launch commands from shell as a separate process.
  -e, --env=ENV The Environment name. [default: "production"]
  -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help Displays help for a command
  list Lists commands
 ant
  ant:uniimex:cleanup Deletes all inactive articles with media files and unused article properties!
  ant:uniimex:delete-inactive-articles Deletes all inactive articles with media files!
  ant:uniimex:list Get a list of Configurations
  ant:uniimex:run Run one or more configurations
 dbal
  dbal:import Import SQL file(s) directly to Database.
  dbal:run-sql Executes arbitrary SQL directly from the command line.
 orm
  orm:clear-cache:metadata Clear all metadata cache of the various cache drivers.
  orm:clear-cache:query Clear all query cache of the various cache drivers.
  orm:clear-cache:result Clear all result cache of the various cache drivers.
  orm:convert-d1-schema Converts Doctrine 1.X schema into a Doctrine 2.X schema.
  orm:convert-mapping Convert mapping information between supported formats.
  orm:convert:d1-schema Converts Doctrine 1.X schema into a Doctrine 2.X schema.
  orm:convert:mapping Convert mapping information between supported formats.
  orm:ensure-production-settings Verify that Doctrine is properly configured for a production environment.
  orm:generate-entities Generate entity classes and method stubs from your mapping information.
  orm:generate-proxies Generates proxy classes for entity classes.
  orm:generate-repositories Generate repository classes from your mapping information.
  orm:generate:entities Generate entity classes and method stubs from your mapping information.
  orm:generate:proxies Generates proxy classes for entity classes.
  orm:generate:repositories Generate repository classes from your mapping information.
  orm:info Show basic information about all mapped entities
  orm:mapping:describe Display information about mapped objects
  orm:run-dql Executes arbitrary DQL directly from the command line.
  orm:schema-tool:create Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output.
  orm:schema-tool:drop Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output.
  orm:schema-tool:update Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata.
  orm:validate-schema Validate the mapping files.
 sw
  sw:clone:category:tree Duplicates the category tree.
  sw:cron:list Lists cronjobs.
  sw:cron:run Runs cronjobs.
  sw:es:analyze Helper tool to test own analyzers.
  sw:es:backlog:clear Remove backlog entries that are already synchronized.
  sw:es:backlog:sync Synchronize events from the backlog to the live index.
  sw:es:index:cleanup Remove unused Elasticsearch indices.
  sw:es:index:populate Reindex all shops into a new index and switch the live-system alias after the index process.
  sw:es:switch:alias Allows to switch live-system aliases.
  sw:firstrunwizard:disable Disable the first run wizard.
  sw:firstrunwizard:enable Enable the first run wizard.
  sw:generate:attributes Generates attribute models.
  sw:importexport:export Export data to files.
  sw:importexport:import Import data from files.
  sw:importexport:profiles Show all profiles.
  sw:media:cleanup Collect unused media move them to trash.
  sw:media:migrate Migrate images to new structure
  sw:plugin:activate Activates a plugin.
  sw:plugin:config:list Lists plugin configuration.
  sw:plugin:config:set Sets plugin configuration.
  sw:plugin:deactivate Deactivates a plugin.
  sw:plugin:delete Deletes a plugin.
  sw:plugin:install Installs a plugin.
  sw:plugin:list Lists plugins.
  sw:plugin:refresh Refreshes plugin list.
  sw:plugin:reinstall Reinstalls the provided plugin
  sw:plugin:uninstall Uninstalls a plugin.
  sw:plugin:update Updates a plugin.
  sw:product:feeds:refresh Refreshes product feed cache files.
  sw:rebuild:category:tree Rebuild the category tree
  sw:refresh:search:index refreshes and regenerates the search index
  sw:settings:label:find:missing Dump missing settings labels from the database into php arrays files
  sw:snippets:find:missing Find missing snippets in the database and dumps them into .ini files
  sw:snippets:remove Remove snippets from the database for a specific folder
  sw:snippets:to:db Load snippets from .ini files into database
  sw:snippets:to:ini Dump snippets from the database into .ini files
  sw:snippets:to:sql Load snippets from .ini files into sql file
  sw:snippets:validate Validates .ini files containing snippets
  sw:store:download Downloads a plugin from the community store
  sw:store:list List licensed plugins.
  sw:store:list:domains List connected domains.
  sw:store:list:integrated List all integrated plugins.
  sw:store:list:updates Lists updates for installed plugins.
  sw:theme:cache:generate Generates theme caches.
  sw:theme:create Creates a theme.
  sw:theme:dump:configuration Dumps the theme configuration into json files
  sw:theme:initialize Initializes themes. Enables responsive theme for the default shop.
  sw:thumbnail:cleanup Deletes thumbnails for images whose original file has been deleted.
  sw:thumbnail:generate Generates a new Thumbnail.
  sw:warm:http:cache warm up http cache
 swaglicense
  swaglicense:import Import licenses from file.
  swaglicense:list Lists available licenses.