mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
I think crontab is not a very popular command(i.e, like apt-get). So I thought a bit more detail would be appreciated.
parent
011c00e833
commit
8438901af2
1 changed files with 4 additions and 1 deletions
|
@ -18,10 +18,13 @@ Initially make sure all the above requirements are met.
|
|||
|
||||
Then to get this script to automatically run add this as a cron job under `root` using `sudo crontab -e` but, change the file path to the file path the script is saved.
|
||||
|
||||
Run 'sudo crontab -e' in terminal.If running for the first time, it would ask you to choose an editor.
|
||||
Run 'sudo crontab -e' in terminal. If running for the first time, it would ask you to choose an editor. nano is the recommended one.
|
||||
|
||||
Enter this command in a new line:
|
||||
`0 */12 * * * /path/dnscrypt-proxy-update.sh`
|
||||
|
||||
replace 'path' with where you saved the dnscrypt-proxy-update.sh file.
|
||||
|
||||
This script needs to be run as `root`.
|
||||
|
||||
It assumes that you are running Linux on an `x86_64` CPU. Change `linux` and `x86_64` in the `PLATFORM` and `CPU_ARCH` variables respectivly to the actual platform you are running if it is different (for example, on a Raspberry Pi, it should probably be `linux_arm` instead of `linux_x86_64`).
|
||||
|
|
Loading…
Add table
Reference in a new issue