Commit a08331eb by Damien Moulard

update export and upload data script & doc

parent 0ca827e5
......@@ -201,6 +201,10 @@ Quand CCAS_MODE = 1, pour que les reconversions CCAS soient effectuées et les e
57 1 1 * * kohinos php /home/kohinos/kohinos/bin/console kohinos:ssa:export-ccas-transactions
27 2 10 * * kohinos rm -f /home/kohinos/kohinos/ccastransactions/*
Pour activer l'export de données vers un serveur distant :
0 0 1 * * kohinos php /home/kohinos/kohinos/bin/console kohinos:ssa:export-and-upload-data
## Lancer le Kohinos en local
Installer le client symfony
......
......@@ -842,7 +842,7 @@ services:
tags:
- { name: 'kernel.event_listener', event: 'security.interactive_login' }
App\Command\ExportAdherentsDataCommand:
App\Command\ExportAndUploadDataCommand:
arguments:
$host: '%export.ssh.host%'
$user: '%export.ssh.user%'
......
......@@ -12,9 +12,9 @@ use App\Entity\Adherent;
use App\Entity\Prestataire;
use App\Entity\Flux;
class ExportAdherentsDataCommand extends Command
class ExportAndUploadDataCommand extends Command
{
protected static $defaultName = 'app:ssa:export-adherents-data';
protected static $defaultName = 'kohinos:ssa:export-and-upload-data';
protected $em;
private LoggerInterface $logger;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment