Skip to content

uanet-exception/uafedistats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uafedistats.sh

Даний проєкт є форком usercount, але переписаний з Python на Bash і використовує виключно список українських інстансів.

Залежності

  • bash
  • jq
  • sed
  • curl
  • grep
  • coreutils
  • gnuplot

Налаштування

$ git clone https://github.com/uanet-exception/uafedistats.git /opt/uafedistats && cd /opt/uafedistats
...
/opt/uafedistats$ cp main.cfg.example main.cfg
/opt/uafedistats$ vim main.cfg
...
/opt/uafedistats$ echo "*/20  *    * * *   root    bash -c '/opt/uafedistats/uafedistats.sh update &>> /opt/uafedistats/errors.log'" | sudo tee -a /etc/crontab
/opt/uafedistats$ echo "0  *    * * *   root    bash -c '/opt/uafedistats/uafedistats.sh post &>> /opt/uafedistats/errors.log'" | sudo tee -a /etc/crontab
/opt/uafedistats$ sudo service cron reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published