2 * Manually trigger tenant-meshcentral sync
3 * Creates device groups for all tenants
6// Set delay BEFORE requiring the module (5 seconds for manual execution)
7process.env.TENANT_SYNC_DELAY = process.env.TENANT_SYNC_DELAY || '5000';
9const { runStartupSync } = require('../startup/tenant-meshcentral-sync');
11console.log('š Manually triggering tenant-MeshCentral sync...\n');
15 console.log('\nā
Sync complete!');
19 console.error('\nā Sync failed:', err);