earthcube / scheduler

Scheduling approaches related to gleaner tooling
Apache License 2.0
0 stars 0 forks source link

reboot headless on a schedule #128

Open valentinedwv opened 1 month ago

valentinedwv commented 1 month ago

Until we get to #74 where a headless is run with each gleaner run, we need to have a headless reboot task, say weekly, before weekly runs, so custom cron time

valentinedwv commented 3 weeks ago

https://stackoverflow.com/questions/69309747/schedule-daily-docker-container-restart-reset

myservice: container_name: myservice

restarter: image: docker:cli restart: unless-stopped volumes: ["/var/run/docker.sock:/var/run/docker.sock"] entrypoint: ["/bin/sh","-c"] command: