- ssh to server, go in root user's home directory
- run
git clone https://github.com/BakirGracic/sync-server-time
- go inside
cd sync-server-time
- enable execution, run
sudo chmod +x installer.sh && sudo chmod +x main.sh
- run installer
./installer.sh
- check if cron job added with
crontab -e
- alternatively, run script manually via
./main.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
BakirGracic/sync-server-time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Sync your server's time automatically via this simple script and cron every-day execution