lean flag

This commit is contained in:
2021-04-28 10:54:07 +02:00
parent b8d12e518c
commit c1795b2acc
4 changed files with 22 additions and 7 deletions

View File

@@ -309,7 +309,9 @@ func (l Location) RunCron() error {
lock.SetCron(l.name, now.Unix())
l.Backup(true)
} else {
colors.Body.Printf("Skipping \"%s\", not due yet.\n", l.name)
if !CRON_LEAN {
colors.Body.Printf("Skipping \"%s\", not due yet.\n", l.name)
}
}
return nil
}