|
|
@@ -4,13 +4,13 @@
|
|
|
namespace ModulesGarden\ProxmoxAddon\App\Cron;
|
|
|
|
|
|
|
|
|
-use ModulesGarden\ProxmoxAddon\App\Jobs\Cloud\SnapshotVmJob;
|
|
|
+use ModulesGarden\ProxmoxAddon\App\Jobs\Vps\SnapshotVmJob;
|
|
|
use ModulesGarden\ProxmoxAddon\App\Models\Job;
|
|
|
use ModulesGarden\ProxmoxAddon\App\Models\ProductConfiguration;
|
|
|
use ModulesGarden\ProxmoxAddon\App\Models\SnapshotJob;
|
|
|
use ModulesGarden\ProxmoxAddon\App\Models\Whmcs\Hosting;
|
|
|
use ModulesGarden\ProxmoxAddon\App\Services\ApiService;
|
|
|
-use ModulesGarden\ProxmoxAddon\App\Services\Cloud\ProductService;
|
|
|
+use ModulesGarden\ProxmoxAddon\App\Services\Vps\ProductService;
|
|
|
use ModulesGarden\ProxmoxAddon\Core\CommandLine\Command;
|
|
|
use ModulesGarden\ProxmoxAddon\Core\UI\Traits\WhmcsParams;
|
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
|
@@ -85,15 +85,6 @@ class Snapshots extends Command {
|
|
|
* @var SnapshotJob $entity
|
|
|
*/
|
|
|
foreach ($entities->get() as $entity) {
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'proxmoxCloud',
|
|
|
- __FUNCTION__,
|
|
|
- $entity,
|
|
|
- 'Debug',
|
|
|
- $productIds
|
|
|
- );
|
|
|
-
|
|
|
try {
|
|
|
$now = new \DateTime();
|
|
|
$today = $now->format("l");
|