Skip to content
Snippets Groups Projects
borutpiletic's avatar
Borut Piletic authored
db1fc42f
History

INTRODUCTION

This module allows site owners perform file operations at cron run.

Operations will execute supported plugin which handles the files operation job.

INSTALLATION

CONFIGURATION

  • Enable file_sync module.
  • Go to /admin/config/services/file-sync/ops and add your file sync operation.
  • Once operation is created and enabled it will run on Drupal cron.

Override plugin settings

Plugins may contain sensitive information which should not be exported by the config.

Use the following example in your settings.local.php file where you replace the operation_id with your operation ID.

$config['file_sync.operation.operation_id']['settings']['username'] = '';
$config['file_sync.operation.operation_id']['settings']['password'] = '';