I want to run a cron job to wipe files for a ephemeral user on Ubuntu desktop 20.04. Since the system won't be powering fully off regularly(for which I could just use @reboot /path/to/my_script.sh
), is there a way to schedulae a cron job to run when the computer is suspended? Everything on Google I'm seeing is related to running cron jobs while the computer is suspended, but I'd like to use suspend, or waking as the trigger for this cron job.