// Direct processing trigger without authentication import { processUnprocessedSessions } from '../lib/processingScheduler.ts'; async function triggerProcessing() { try { console.log('šŸ¤– Starting complete batch processing of all unprocessed sessions...\n'); // Process all unprocessed sessions in batches until completion const result = await processUnprocessedSessions(10, 3); console.log('\nšŸŽ‰ Complete processing finished!'); console.log(`šŸ“Š Final results: ${result.totalProcessed} processed, ${result.totalFailed} failed`); console.log(`ā±ļø Total time: ${result.totalTime.toFixed(2)}s`); } catch (error) { console.error('āŒ Error during processing:', error); } } // Run the script triggerProcessing();