Automation Logs

SFTP → S3 Upload Automation Every 40 mins

Date & Time Total ZIP Found Today's ZIP Uploaded Skipped Client Found Today Client Uploaded Allowed JSON

Today's Batches

Batch Name Total Files Download
`); } // ========================== // EXISTING BATCH CODE (UNCHANGED) // ========================== async function loadBatches() { const res = await fetch("https://umcauto.ardem.ai/process"); const rows = await res.json(); const grouped = {}; rows.forEach(r => { if (!grouped[r.BatchName]) { grouped[r.BatchName] = { count: 0, files: [] }; } grouped[r.BatchName].count++; grouped[r.BatchName].files.push(r.FileName); }); let html = ""; Object.keys(grouped) .sort() .reverse() .forEach(batch => { html += ` ${batch} ${grouped[batch].count} Files `; }); document.querySelector("#batchTable tbody").innerHTML = html; } function downloadBatch(name) { window.location = `https://umcauto.ardem.ai/api/download/sorted/${name}`; } function downloadAutomationExcel(logId) { window.open( `https://umcauto.ardem.ai/api/automation/logs/${logId}/excel` ); } // ========================== // INITIAL LOAD // ========================== loadLogs(); loadBatches();