Command Line

  • php symfony import:bulk --skip-matched /path/to/myfiles
  • php symfony search:populate
  • php symfony tools:update-publication-status Published
  • php symfony tools:delete-description --repository example-archives (slug-of-archive)

Gearman

  • sudo systemctl enable atom-worker # Enables the worker (on boot)
  • sudo systemctl start atom-worker # Starts the worker
  • sudo systemctl stop atom-worker # Stops the worker
  • sudo systemctl restart atom-worker # Restarts the workers
  • sudo systemctl status atom-worker # Obtains current status

SQL

use sql instead of cli

UPDATE status SET status_id=160 WHERE type_id=158 AND object_id <> 1;

curl -X DELETE 'http://localhost:9200/_all'