mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
feat: limit storage check emails
feat: sentinel should send storage usage
This commit is contained in:
1 parent
0a26598093
commit
ac768e5313
14 files changed
+111
-49
No files matched your search
@@ -700,7 +700,8 @@ $schema://$host {
|
||||
|
||||
public function getDiskUsage(): ?string
|
||||
{
|
||||
return instant_remote_process(["df /| tail -1 | awk '{ print $5}' | sed 's/%//g'"], $this, false);
|
||||
return instant_remote_process(['df / --output=pcent | tr -cd 0-9'], $this, false);
|
||||
// return instant_remote_process(["df /| tail -1 | awk '{ print $5}' | sed 's/%//g'"], $this, false);
|
||||
}
|
||||
|
||||
public function definedResources()
|
||||
|
||||
Reference in new issue
Block a user