Project: cleanup

Build now

Configuration

sparrowdo:
  no_sudo: true
  no_index_update: false
  bootstrap: false
  format: default
  repo: https://sparrowhub.io/repo
disabled: false
keep_builds: 1000
allow_manual_run: true
crontab: "0 0 * * *"

Job

#!raku

bash "ls -lth ~/.sparky/sparkyd.log || :";
bash "truncate -s0 ~/.sparky/sparkyd.log";
bash "ls -lth ~/.sparky/sparkyd.log || :";

bash "ls -lth ~/.sparky/sparky-web.log || :";
bash "truncate -s0 ~/.sparky/sparky-web.log";
bash "ls -lth ~/.sparky/sparky-web.log || :";

#bash 'sudo docker stop $(sudo docker ps -a -q) || :';
#bash 'sudo docker rm $(sudo docker ps -a -q) || :';

bash "sudo docker system prune -f";