Crons

IDRun EveryLast RunNext RunRun Time {#each $rows as row (row.id)} {/each}
Title Slug Description State Enabled
{row.id} {row.title} {row.slug} {row.description} {row.run_every}s {format(row.last_run * 1000, 'PP HH:mm')}
{formatDistance(row.last_run * 1000, new Date(), { addSuffix: true })}
{format(row.next_run * 1000, 'PP HH:mm')}
{formatDistance(row.next_run * 1000, new Date(), { addSuffix: true })}
{row.run_time} {row.cron_state ? 'RUNNING' : 'IDLE'} {row.is_enabled ? 'ENABLED' : 'DISABLED'}