1
0
Fork 0
mirror of synced 2024-06-08 13:54:43 +12:00

Updated workers logs

This commit is contained in:
Eldad Fux 2020-05-09 19:39:50 +03:00
parent af4b1203e6
commit 3e8b3752fd
6 changed files with 25 additions and 20 deletions

View file

@ -1,13 +1,14 @@
<?php
use Utopia\Audit\Audit;
use Utopia\Audit\Adapters\MySQL as AuditAdapter;
use Utopia\CLI\Console;
require_once __DIR__.'/../init.php';
cli_set_process_title('Audits V1 Worker');
echo APP_NAME.' audits worker v1 has started';
use Utopia\Audit\Audit;
use Utopia\Audit\Adapters\MySQL as AuditAdapter;
Console::success(APP_NAME.' audits worker v1 has started');
class AuditsV1
{

View file

@ -1,6 +1,7 @@
<?php
use Utopia\App;
use Utopia\CLI\Console;
use Utopia\Config\Config;
use Utopia\Domains\Domain;
use Appwrite\Database\Database;
@ -11,7 +12,7 @@ require_once __DIR__.'/../init.php';
cli_set_process_title('Certificates V1 Worker');
echo APP_NAME.' certificates worker v1 has started';
Console::success(APP_NAME.' certificates worker v1 has started');
class CertificatesV1
{

View file

@ -1,16 +1,16 @@
<?php
require_once __DIR__.'/../init.php';
cli_set_process_title('Functions V1 Worker');
echo APP_NAME.' functions worker v1 has started';
use Utopia\Config\Config;
use Appwrite\Database\Database;
use Appwrite\Database\Validator\Authorization;
use Utopia\CLI\Console;
require_once __DIR__.'/../init.php';
cli_set_process_title('Functions V1 Worker');
Console::success(APP_NAME.' functions worker v1 has started');
$envs = [
'node:14',
'php:7.4-cli',

View file

@ -1,15 +1,16 @@
<?php
require_once __DIR__.'/../init.php';
use Utopia\CLI\Console;
use Utopia\Config\Config;
use Appwrite\Database\Database;
use Appwrite\Database\Validator\Authorization;
use Cron\CronExpression;
require_once __DIR__.'/../init.php';
cli_set_process_title('Tasks V1 Worker');
echo APP_NAME.' tasks worker v1 has started';
Console::success(APP_NAME.' tasks worker v1 has started');
class TasksV1
{

View file

@ -1,12 +1,13 @@
<?php
use Utopia\CLI\Console;
use Utopia\Config\Config;
require_once __DIR__.'/../init.php';
cli_set_process_title('Usage V1 Worker');
echo APP_NAME.' usage worker v1 has started';
Console::success(APP_NAME.' usage worker v1 has started');
class UsageV1
{

View file

@ -1,14 +1,15 @@
<?php
use Utopia\CLI\Console;
use Utopia\Config\Config;
use Appwrite\Database\Database;
use Appwrite\Database\Validator\Authorization;
require_once __DIR__.'/../init.php';
cli_set_process_title('Webhooks V1 Worker');
echo APP_NAME.' webhooks worker v1 has started';
use Utopia\Config\Config;
use Appwrite\Database\Database;
use Appwrite\Database\Validator\Authorization;
Console::success(APP_NAME.' webhooks worker v1 has started');
class WebhooksV1
{