Update src/Appwrite/Platform/Tasks/FolderBackup.php

Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
Shimon Newman
2023-02-27 08:36:00 +02:00
committed by GitHub
co-authored by Eldad A. Fux
parent cffe8173ba
commit d9b55b4b04
+1 -1
View File
@@ -43,7 +43,7 @@ class FolderBackup extends Action
$sleep = $next->getTimestamp() - $now->getTimestamp();
}
console::log('[' . $now->format("Y-m-d H:i:s.v") . '] Sleeping for ' . $sleep . ' seconds next run will be at [' . $next->format("Y-m-d H:i:s.v") . ']');
Console::log('[' . $now->format("Y-m-d H:i:s.v") . '] Sleeping for ' . $sleep . ' seconds next run will be at [' . $next->format("Y-m-d H:i:s.v") . ']');
sleep($sleep);