Skip to content

DeNcHiK3713/HsUpdateChecker

Repository files navigation

HsUpdateChecker

Usage example:

Subscribe to my telegram channel: https://t.me/HsUpdates

Linux:

  1. Install dotnet-runtime-3.1: https://docs.microsoft.com/en-us/dotnet/core/install/linux
  2. Download latest release here.
  3. Unzip it somewhere. (For example is /home/user/HsUpdateChecker/)
  4. Edit settings in appsettings.json.
  5. Create new service:

Run command:

sudo nano /etc/systemd/system/HsUpdateChecker.service

then paste following into nano:

[Unit]
Description=HsUpdateChecker service
Wants=network-online.target
After=network-online.target systemd-networkd-wait-online.service

[Service]
Type=exec
WorkingDirectory=/home/user/HsUpdateChecker
ExecStart=/usr/bin/dotnet /home/user/HsUpdateChecker/HsUpdateChecker.dll

then press ctrl+s, then ctrl+x.

  1. Create new timer:

Run command:

sudo nano /etc/systemd/system/HsUpdateChecker.timer

then paste folowing into nano:

[Unit]
Description=Execute HsUpdateChecker every 15 minutes

[Timer]
OnCalendar=*:0/15
Unit=HsUpdateChecker.service

[Install]
WantedBy=timers.target

then press ctrl+s, then ctrl+x.

  1. Enable timer by tuping following command:
sudo systemctl enable HsUpdateChecker.timer
sudo systemctl start HsUpdateChecker.timer

Windows:

  1. Download latest release here.
  2. Unzip somewhere.
  3. Edit settings in appsettings.json.
  4. Create new task for task scheduler and add "on a schedule" trigger.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages