Run action after backintime completes
Asked by
Sparhawk
I use xautolock to suspend my laptop automatically. In the past, I've run the following command to backup.
xautolock -disable; time sudo nice -n 19 ionice -c2 -n7 backintime --checksum --backup-job; xautolock -enable
I've since upgraded to backintime 1.1.0 (in Arch Linux), and I notice that backintime now terminates immediately. That is, it drops me back to the command line (presumably after running `xautolock -enable`) immediately after running the command, while backintime/rsync runs in the background. Is there a way to run a command only after backintime completes the backup?
Alternatively, I notice that backintime says
WARNING: Inhibit Suspend failed.
so perhaps xautolock could be supported internally?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Germar
- Solved:
- Last query:
- Last reply:
To post a message you must log in.