Closed memen45 closed 3 years ago
Please follow the instruction on the Readme file and you should be fine. You can run it from everywhere on your system.
The first 5 steps are clear, however, the downloading/installing steps are not described. At step 6 the crontab has to be edited, however, I assume the binary has to be installed before that in order to work?
Yes the binary can be where every you like. The config needs to be
filename is go-transip-dyndns.toml
Just download the bin which works for your system and place it somewhere and off you go.
Ah okay, thanks a lot. The manual part is working now. However, I think the cron is not working. I added the following line to the crontab
0 * * * * /usr/local/bin/go-transip-dyndns > ~/go-transip-dyndns/go-transip-dyndns.log 2>&1
But got the following in the log file:
/bin/sh: 1: /usr/local/bin/go-transip-dyndns: not found
I can run from ~/go-transip-dyndns/go-transip-dyndns
manually though.
Well the hint is then also there. The binary is not available in /usr/local/bin bit in your home directory under go-transip-dyndns.
Move the binary to the correct location and ensure it is able to find the config under /usr/local/bin an you are set.
Met vriendelijke groet, Kind regards,
-- [image: photo] Jason Lentink Technology Director Platforms, Big Builds & eCommerce Monk, MediaMonks
+31 6 11 72 12 01 <%E2%80%AD+31611721201%E2%80%AC>| @.***
blog https://www.mediamonks.com/blog | mediamonks.com https://www.mediamonks.com/ S4Capital https://www.s4capital.com/ (SFOR) https://www.londonstockexchange.com/stock/SFOR/s4-capital-plc/company-page?lang=en https://www.linkedin.com/in/jasonlentink/ https://www.instagram.com/mediamonks/ https://www.youtube.com/watch?v=18ht3EBa1m4 https://vimeo.com/263854900
On Tue, Jun 8, 2021 at 7:11 PM memen45 @.***> wrote:
Ah okay, thanks a lot. The manual part is working now. However, I think the cron is not working. I added the following line to the crontab 0 /usr/local/bin/go-transip-dyndns > ~/go-transip-dyndns/go-transip-dyndns.log 2>&1
But got the following in the log file: /bin/sh: 1: /usr/local/bin/go-transip-dyndns: not found
I can run from ~/go-transip-dyndns/go-transip-dyndns manually though.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jlentink/go-transip-dyndns/issues/6#issuecomment-856945202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJJ5E3E7UYF6HBQ5AXBEWTTRZFL5ANCNFSM44GWHEYQ .
Thanks, so the files should be copied to /usr/local/bin directory. Went for the other solution:
0 * * * * cd go-transip-dyndns && ./go-transip-dyndns > go-transip-dyndns.log 2>&1
Trying to install the tool, did the following steps, but am getting command not found error.
Now I have no idea how to proceed. Did I make a mistake or could you maybe point me to the standard procedure of installing these kind of binaries?