Skip to content

vyassamir11/DownloadLimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DownloadLimiter

Shuts down the PC when a download limit is reached. Script written to limit my data usage while downloading through my daily limited internet.

It requires admin privileges to shutdown.

On windows, you can invoke it from Admin Command Prompt or PowerShell.
On Linux and Mac, use sudo before the command.

Usage

First argument is data limit in MB and the second argument is time period of update in seconds.
The below will run the program with 1024 MB of limit and program will monitor usage after every 5 seconds.
python download_limiter.py 1024 5

About

Shuts down the PC when a download limit is reached.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages