Commit Graph

7 Commits (90f06de0a0553c996b782a2392855696de78a78b)

Author SHA1 Message Date
Manuel Aranda Rosales 99e4c02411 Fixed OU scope task
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
2026-05-06 17:34:21 +02:00
Nicolas Arenas a8cdae154b fix(ogcore): fix scheduled task execution and UTC timezone handling
testing/ogcore-api/pipeline/head There was a failure building this commit Details
testing/ogcore-api/pipeline/pr-main There was a failure building this commit Details
- Fix executeReboot response check: use getStatusCode() instead of
  json_decode(body)['status'], which never matched the Client entity body
- Fix executeRunScript: same check fix; remove duplicate trace status
  update since RunScriptAction already handles it via updateExistingTrace
- Normalize executionDate/executionTime to UTC at API boundary in
  CommandTaskScheduleInput to prevent client/server timezone drift
- Use UTC consistently in calculateNextExecutionDate and
  RunScheduledCommandTasksCommand for all datetime comparisons
- Replace 30-second execution window (abs(difference) < 30) with
  isDue && notYetExecuted logic so tasks missed by the cron are
  recovered in the next cycle instead of being skipped forever
- Skip one-time (none) tasks with a past executionDate in
  calculateNextExecutionDate so nextExecution is set to null after
  execution and the task no longer appears in cron logs
2026-05-06 15:30:37 +02:00
Manuel Aranda Rosales 5debf35b0d refs #2754. Deploy bug fixed 2025-09-04 13:56:19 +02:00
Manuel Aranda Rosales f931a78d9e refs #2585. Updated executedPendingTrace
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-08-25 12:25:50 +02:00
Manuel Aranda Rosales f627f0a86d refs #2585. CommandTask schedule. Update several scripts with new logic
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-08-04 09:49:07 +02:00
Manuel Aranda Rosales 326ff47edd Some improvements
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-14 13:25:57 +02:00
Manuel Aranda Rosales d347896158 refs #1966. RunScheduleCommand
testing/ogcore-api/pipeline/head This commit looks good Details
2025-05-07 16:59:20 +02:00