Here is where the file is saved /usr/local/bin/swap_cleanup.sh There is cron job on every 30 minutes running. We can check that it works with: sudo tail -f /var/log/swap_cleanup.log