up obserpations

This commit is contained in:
Ronald Quenta
2017-08-10 16:50:09 -04:00
parent b727f6567e
commit d8e9ab8844
18 changed files with 70 additions and 1368 deletions

View File

@@ -25,6 +25,8 @@
*/
use ProcessMaker\Util\System;
CLI::taskName('flush-cache');
CLI::taskDescription(<<<EOT
Flush cache of all workspaces of a given workspace
@@ -72,7 +74,7 @@ function flush_cache($workspace)
echo " Update singleton in workspace " . $workspace->name . " ... ";
echo PHP_EOL;
echo " Flush workspace " . pakeColor::colorize($workspace->name, "INFO") . " cache ... " . PHP_EOL;
\ProcessMaker\Util\System::flushCache($workspace);
System::flushCache($workspace);
echo "DONE" . PHP_EOL;
} catch (Exception $e) {
echo $e->getMessage() . PHP_EOL;