Date(job.retry_at)}</span>
                </p>
                <p style="font-size: 12px; color: #666;">${job.description}</p>
            `;
            return jobElement;
        }

        function updateDashboard(data) {
            const currentTime = document.getElementById('current-time');
            window.now = new Date();
            currentTime.innerHTML = `♻️ ${window.now.toISOString().split('T').at(-1).replace('Z', '')}`;

            const dashboard = document.getElementById('dashboard')