Run a script before sleep

Run a script just before the computer sleeps.

Script

Script to run: Provide the script to run.

You enter a script. The script can be in any shell supported language. This includes python, perl, php, ruby, and shell script.

Constraints

You define when the actions can be performed.

Why

Event Name: Name the event performing this task.

You type a word or sentence.

Notes: Notes about why this event is needed.

You type a word, sentence, or paragraph.