nur-sery/nur_src/cli/BgApplication2.php

25 lines
501 B
PHP
Raw Normal View History

2024-09-23 17:18:00 +04:00
<?php
namespace nur\cli;
use nur\sery\wip\app\app2;
class BgApplication2 extends Application2 {
const USE_LOGFILE = true;
const USE_RUNFILE = true;
const USE_RUNLOCK = true;
const ARGS = [
"merge" => parent::ARGS,
["--force-enabled", "value" => true,
"help" => "lancer la commande même si les tâches planifiées sont désactivées",
],
];
protected bool $forceEnabled = false;
function main() {
app2::check_bgapplication_enabled($this->forceEnabled);
}
}