I would like to get some kind of notification when a script has been executed.
I know how to get an email sent, but I something different.
This works, unless it occurs when I am not at my computer.
notify-send "Cleanup of Backup Directories complete."
I would prefer creating a file in a directory.
echo 'script is executing' > /log/to/file
, you can do the same when it's finishing at the end – αғsнιη Aug 26 '18 at 02:49