SilverStripe Development Tools: Tasks (QueuedJobs version)

https://goflex.es/

dev → tasks

Display [remove] Database Artefacts

Display and optionally run queries to delete obsolete columns, indexes, and tables.
Run task Queue job

Hydrate Live images missing crop data

Run this task to update live versions of images which are missing CropData
Run task Queue job

MigrateContentToElement

When installing Elemental this task converts content in the $Content field to an ElementContent
Run task Queue job

Reset Globally Enabled elements

Reset individual elements 'AvailableGlobally' setting with the default_global_elements config
Run task Queue job

Hydrate the focuspoint extension image size cache

Run this task to cache all image sizes, and speed up image generation
Run task Queue job

Invert all Focus-Point Y-Axis values (v2↔v3)

Y-axis normally gets auto-migrated by FocusPointMigrationTask on dev/build. This tasks just inverts all Y values, eg in case the migration did not succeed or run correctly.
Run task Queue job

Migrate SiteTree Linking Task

Updates legacy SiteTree link tracking into new polymorphic many_many relation
Run task Queue job

Database Migrations

Provide atomic database changes (subclass this and implement yourself)
Run task Queue job

Login Session Garbage Collection Task

Removes expired login sessions and “remember me” hashes from the database
Run task Queue job

Invalidate All Login Sessions Task

Removes all login sessions and "remember me" hashes (including yours) from the database
Run task Queue job

Symbiote\QueuedJobs\Tasks\CheckJobHealthTask

A task used to check the health of jobs that are "running". Pass a specific queue as the "queue" parameter or otherwise the "Queued" queue will be checked
Run task Queue job

Symbiote\QueuedJobs\Tasks\PublishItemsTask

No description available
Run task Queue job

Clear InterventionBackend cache

Clears caches for InterventionBackend
Run task Queue job

Rewrite tags to shortcodes

Rewrites tags to shortcodes in any HTMLText field

Parameters:
- baseClass: The base class that will be used to look up HTMLText fields. Defaults to SilverStripe\ORM\DataObject
- includeBaseClass: Whether to include the base class' HTMLText fields or not
Run task Queue job

Migrate versionedfiles

If you had the symbiote/silverstripe-versionedfiles module installed on your 3.x site, it
is no longer needed in 4.x as this functionality is provided by default. This task will remove the old _versions
folders or protect them, depending on the strategy you use. Use ?strategy=delete or ?strategy=protect (Apache
only). [Default: delete]
Run task Queue job

Deletes all temporary test databases

Cleans up leftover databases from aborted test executions (starting with ss_tmpdb)
Run task Queue job

Migrate File dataobjects from 3.x and successive iterations in 4.x

Imports all files referenced by File dataobjects into the new Asset Persistence Layer introduced in 4.0.
Moves existing thumbnails, and generates new thumbnail sizes for the CMS UI. Fixes file permissions.
If the task fails or times out, run it again and if possible the tasks will start where they left off.
You need to flush your cache after running this task via CLI.
See https://docs.silverstripe.org/en/4/developer_guides/files/file_migration/.
Run task Queue job

i18n Textcollector Task

Traverses through files in order to collect the 'entity master tables'
stored in each module.

Parameters:
- locale: Sets default locale
- writer: Custom writer class (defaults to i18nTextCollector_Writer_RailsYaml)
- module: One or more modules to limit collection (comma-separated)
- merge: Merge new strings with existing ones already defined in language files (default: FALSE)
Run task Queue job

Migrate Focus-Point Field-Values.

Migrate Focus-Point fields from v2 to v3 or vice-versa.
Run task Queue job

Symbiote\QueuedJobs\Tasks\CreateQueuedJobTask

A task used to create a queued job. Pass the queued job class name as the "name" parameter, pass an optional "start" parameter (parseable by strtotime) to set a start time for the job.
Run task

Delete all queued jobs.

Remove all queued jobs from the database. Use with caution!
Run task

Symbiote\QueuedJobs\Tasks\ProcessJobQueueChildTask

No description available
Run task

Symbiote\QueuedJobs\Tasks\ProcessJobQueueTask

Used via a cron job to execute queued jobs that need to be run.
Run task