Add scraper status collection and presentation #3

Merged
kacerr merged 3 commits from add-scraper-statuses into main 2026-02-26 09:04:23 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 44c02b45b4 - Show all commits

View File

@@ -1 +1 @@
0 6,18 * * * cd /app && bash /app/run_all.sh >> /proc/1/fd/1 2>> /proc/1/fd/2 0 */4 * * * cd /app && bash /app/run_all.sh >> /proc/1/fd/1 2>> /proc/1/fd/2

View File

@@ -84,8 +84,8 @@ def main():
help="ISO timestamp of scrape start (default: now)") help="ISO timestamp of scrape start (default: now)")
parser.add_argument("--duration", dest="duration", type=int, default=None, parser.add_argument("--duration", dest="duration", type=int, default=None,
help="Run duration in seconds") help="Run duration in seconds")
parser.add_argument("--keep", dest="keep", type=int, default=5, parser.add_argument("--keep", dest="keep", type=int, default=20,
help="Number of history entries to keep (default: 5, 0=unlimited)") help="Number of history entries to keep (default: 20, 0=unlimited)")
args = parser.parse_args() args = parser.parse_args()
start_time = args.start_time or datetime.now().isoformat(timespec="seconds") start_time = args.start_time or datetime.now().isoformat(timespec="seconds")