File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
core/Command/TaskProcessing Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,18 @@ protected function configure() {
3434
3535 protected function execute (InputInterface $ input , OutputInterface $ output ): int {
3636 $ maxAgeSeconds = $ input ->getArgument ('maxAgeSeconds ' ) ?? Manager::MAX_TASK_AGE_SECONDS ;
37- $ output ->writeln ('<comment>Cleanup up tasks older than ' . $ maxAgeSeconds . ' seconds and the related output files</comment> ' );
37+ $ output ->writeln ('<comment>Cleanup up tasks older than ' . $ maxAgeSeconds . ' seconds and the related output files</comment> ' );
3838 $ cleanupResult = $ this ->taskProcessingManager ->cleanupOldTasks ($ maxAgeSeconds );
3939 foreach ($ cleanupResult as $ entry ) {
4040 if (isset ($ entry ['task_id ' ], $ entry ['file_id ' ], $ entry ['file_name ' ])) {
4141 $ output ->writeln ("<info> \t - " . 'Deleted appData/core/TaskProcessing/ ' . $ entry ['file_name ' ] . ' (fileId: ' . $ entry ['file_id ' ] . ', taskId: ' . $ entry ['task_id ' ] . ')</info> ' );
4242 } elseif (isset ($ entry ['directory_name ' ])) {
43- $ output ->writeln ("<info> \t - " . 'Deleted appData/core/ ' . $ entry ['directory_name ' ] . '/ ' . $ entry ['file_name ' ] . '</info> ' );
43+ $ output ->writeln ("<info> \t - " . 'Deleted appData/core/ ' . $ entry ['directory_name ' ] . '/ ' . $ entry ['file_name ' ] . '</info> ' );
4444 } elseif (isset ($ entry ['deleted_task_count ' ])) {
45- $ output ->writeln ("<comment> \t - " . 'Deleted ' . $ entry ['deleted_task_count ' ] . ' tasks from the database</comment> ' );
45+ $ output ->writeln ("<comment> \t - " . 'Deleted ' . $ entry ['deleted_task_count ' ] . ' tasks from the database</comment> ' );
4646 } elseif (isset ($ entry ['deleted_task_id_list ' ])) {
4747 foreach ($ entry ['deleted_task_id_list ' ] as $ taskId ) {
48- $ output ->writeln ("<info> \t - " . 'Deleted task ' . $ taskId . ' from the database</info> ' );
48+ $ output ->writeln ("<info> \t - " . 'Deleted task ' . $ taskId . ' from the database</info> ' );
4949 }
5050 }
5151 }
Original file line number Diff line number Diff line change 13461346 'OC \\Core \\Command \\SystemTag \\Delete ' => $ baseDir . '/core/Command/SystemTag/Delete.php ' ,
13471347 'OC \\Core \\Command \\SystemTag \\Edit ' => $ baseDir . '/core/Command/SystemTag/Edit.php ' ,
13481348 'OC \\Core \\Command \\SystemTag \\ListCommand ' => $ baseDir . '/core/Command/SystemTag/ListCommand.php ' ,
1349+ 'OC \\Core \\Command \\TaskProcessing \\Cleanup ' => $ baseDir . '/core/Command/TaskProcessing/Cleanup.php ' ,
13491350 'OC \\Core \\Command \\TaskProcessing \\EnabledCommand ' => $ baseDir . '/core/Command/TaskProcessing/EnabledCommand.php ' ,
13501351 'OC \\Core \\Command \\TaskProcessing \\GetCommand ' => $ baseDir . '/core/Command/TaskProcessing/GetCommand.php ' ,
13511352 'OC \\Core \\Command \\TaskProcessing \\ListCommand ' => $ baseDir . '/core/Command/TaskProcessing/ListCommand.php ' ,
Original file line number Diff line number Diff line change @@ -1387,6 +1387,7 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
13871387 'OC \\Core \\Command \\SystemTag \\Delete ' => __DIR__ . '/../../.. ' . '/core/Command/SystemTag/Delete.php ' ,
13881388 'OC \\Core \\Command \\SystemTag \\Edit ' => __DIR__ . '/../../.. ' . '/core/Command/SystemTag/Edit.php ' ,
13891389 'OC \\Core \\Command \\SystemTag \\ListCommand ' => __DIR__ . '/../../.. ' . '/core/Command/SystemTag/ListCommand.php ' ,
1390+ 'OC \\Core \\Command \\TaskProcessing \\Cleanup ' => __DIR__ . '/../../.. ' . '/core/Command/TaskProcessing/Cleanup.php ' ,
13901391 'OC \\Core \\Command \\TaskProcessing \\EnabledCommand ' => __DIR__ . '/../../.. ' . '/core/Command/TaskProcessing/EnabledCommand.php ' ,
13911392 'OC \\Core \\Command \\TaskProcessing \\GetCommand ' => __DIR__ . '/../../.. ' . '/core/Command/TaskProcessing/GetCommand.php ' ,
13921393 'OC \\Core \\Command \\TaskProcessing \\ListCommand ' => __DIR__ . '/../../.. ' . '/core/Command/TaskProcessing/ListCommand.php ' ,
You can’t perform that action at this time.
0 commit comments