On 6/28/23 01:23, Paul Colquhoun wrote:
On Wednesday, June 28, 2023 5:05:25 P.M. AEST Neil Bothwick wrote:
On Tue, 27 Jun 2023 18:49:55 -0600, the...@sys-concept.com wrote:
# Query the API to get the current IP address
NEW_IP=$(get_ip_address)
# Retry if the IP address is empty
retry_count=0
w
Not quoting anything because I'm just making a general reply, to the
general problem that you're generally trying to solve. Generally.
You really should be using DNS for what you're trying to do, one way or
the other. Reverse DNS, when set up properly, will always return the
appropriate IP addre
On Wednesday, June 28, 2023 5:05:25 P.M. AEST Neil Bothwick wrote:
> On Tue, 27 Jun 2023 18:49:55 -0600, the...@sys-concept.com wrote:
> > # Query the API to get the current IP address
> > NEW_IP=$(get_ip_address)
> >
> > # Retry if the IP address is empty
> > retry_count=0
> > while [[ -z "$NEW_I
On Tue, 27 Jun 2023 18:49:55 -0600, the...@sys-concept.com wrote:
> # Query the API to get the current IP address
> NEW_IP=$(get_ip_address)
>
> # Retry if the IP address is empty
> retry_count=0
> while [[ -z "$NEW_IP" && $retry_count -lt 3 ]]; do
> sleep 1
> NEW_IP=$(get_ip_address)
>
Thelma
On 6/27/23 13:23, Neil Bothwick wrote:
On Tue, 27 Jun 2023 11:48:16 -0600, the...@sys-concept.com wrote:
On 6/27/23 11:04, Neil Bothwick wrote:
On Tue, 27 Jun 2023 10:34:22 -0600, the...@sys-concept.com wrote:
I run this little script to notify me when the IP changes. However
On 6/27/23 13:23, Neil Bothwick wrote:
On Tue, 27 Jun 2023 11:48:16 -0600, the...@sys-concept.com wrote:
On 6/27/23 11:04, Neil Bothwick wrote:
On Tue, 27 Jun 2023 10:34:22 -0600, the...@sys-concept.com wrote:
I run this little script to notify me when the IP changes. However
at time to
On Tue, 27 Jun 2023 11:48:16 -0600, the...@sys-concept.com wrote:
> On 6/27/23 11:04, Neil Bothwick wrote:
> > On Tue, 27 Jun 2023 10:34:22 -0600, the...@sys-concept.com wrote:
> >
> >> I run this little script to notify me when the IP changes. However
> >> at time to time the file: "old_ip.tx
On 6/27/23 11:04, Neil Bothwick wrote:
On Tue, 27 Jun 2023 10:34:22 -0600, the...@sys-concept.com wrote:
I run this little script to notify me when the IP changes. However at
time to time the file: "old_ip.txt" is being populated with an empty
line "no IP address"
What could be causing it?
On Tue, 27 Jun 2023 10:34:22 -0600, the...@sys-concept.com wrote:
> I run this little script to notify me when the IP changes. However at
> time to time the file: "old_ip.txt" is being populated with an empty
> line "no IP address"
>
> What could be causing it?
>
>
> #!/bin/bash
>
> # Replace
I run this little script to notify me when the IP changes. However at time to time the
file: "old_ip.txt"
is being populated with an empty line "no IP address"
What could be causing it?
#!/bin/bash
# Replace "YOUR_EMAIL" with your actual email address
EMAIL="your_em...@gmail.com"
# File to
10 matches
Mail list logo