fix: enable cron daemon in Dockerfile, speed up sync interval to every 5 minutes and add opportunistic auto-sync check

This commit is contained in:
2026-11-01 17:02:01 +01:00
parent ef19221b62
commit 0c95c7d120
4 changed files with 36 additions and 6 deletions
@@ -304,8 +304,18 @@
<div class="text-[11px] text-slate-400 space-y-1">
<div class="flex items-center justify-between">
<span>Laatste controle:</span>
<span class="font-mono text-slate-300">
<span class="font-mono text-slate-300 font-bold">
{{ $collection->last_synced_at ? $collection->last_synced_at->diffForHumans() : 'Nog niet' }}
@if($collection->last_synced_at)
<span class="text-[10px] text-slate-500 font-normal">({{ $collection->last_synced_at->format('H:i:s') }})</span>
@endif
</span>
</div>
<div class="flex items-center justify-between text-[10px]">
<span class="text-slate-500">Auto-sync interval:</span>
<span class="font-bold text-emerald-400 flex items-center space-x-1">
<span class="w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse"></span>
<span>Iedere 5 min</span>
</span>
</div>
@if($collection->last_sync_message)