Skip to content

meoso/uptime-record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uptime-record

Linux BASH script to save uptime record (maximum uptime thus far).

suggested install:

cd ~
mkdir scripts
cd scripts
git clone https://github.com/meoso/uptime-record.git
chmod +x ./uptime-record/*.sh

basic usage: test uptime against record and if new record, save it as ~/.uprecord:

~/scripts/uptime-record/uprecord.sh

basic usage: show uptime record:

~/scripts/uptime-record/show-uprecord.sh

suggested usage: run in crontab:

* * * * * ~/scripts/uptime-record/uprecord.sh

suggested usage: show in conky:

Uptime: $uptime
Uptime Record: ${execi 30 ~/scripts/uptime-record/show-uprecord.sh}

About

Linux BASH script to save uptime record.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages