add weekly schedulded task that calculates weekly mobility statistics for each user that made a trip in that week -> basis for deteting trend changes in mobility behaviour
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

This commit is contained in:
2026-01-06 17:55:04 +01:00
parent 17636f0b65
commit c010f34479
14 changed files with 374 additions and 7 deletions
@@ -0,0 +1,15 @@
package SuMoC.backend.scheduling;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "sumoc.scheduling")
@Getter
@Setter
public class SchedulingProperties {
private int poolSize = 5;
private String calculateWeeklyMobilityStats = "1 30 0 * * 1"; // Once per week
}