Skip to main content

Program to put your system to sleep/suspend for a given amount of time

Project description

sleep-after
-----------

A simple python script to put your system to sleep/suspend after
specified amount of time

Uses
----
`pm-suspend` system tool

Usage
-----
`sleep-after 10`

This will put your system to sleep after 10 minutes.
Time interval argument is always in minutes.

Installation
------------
Please install it in your system and not in a virtual environment.
`pm-suspend` tool requires root previlages to execute, so installing
this in a virtualenv wont work.

`pip install sleep-after`

Developers
----------
Alfred Dominic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sleep-after-0.3.0.tar.gz (1.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page