On 01/26/11 10:44, Leslie Jensen wrote:
Abel Abraham Camarillo Ojeda skrev 2011-01-26 16:39:
On Wed, Jan 26, 2011 at 3:56 AM, Leslie Jensen<les...@eskk.nu> wrote:
Hello list.

I'm quite new to Openbsd, have used Freebsd for a while.

I have a newly installed Openbsd system.
OpenBSD machine01.no-ip.org 4.8 GENERIC.MP#335 amd64

Upon installation of noip I ran the command noip2 -C to configure it.

I want noip to run a script every 30 minutes that sends a mail to me
at the
end of the updating of the address.

So I choose the settings accordingly when configuring noip.

I've put the following in my /etc/rc.local

------------------------------------------
# Add your local startup actions here.

/usr/local/sbin/noip2&

echo '.'
------------------------------------------

When the machine is booted I get the mail, but I do not get the updates
every 30 minutes as I should.

I cannot see if the the daemon starts because the line at the startup
screen
shows only "starting local daemons:,"

The command:
# ps -aux | grep noip

Gives

_noip B B 6013 B 0.0 B 0.2 B 428 B 916 ?? B Is B B 10:04AM B
B 0:00.01
/usr/local/sb

Top shows the process
6013 _noip B B B 2 B B 0 B 428K B 916K idle B B B select B B 0:00
B 0.00% noip2

If I kill that process and start noip2 from the command line it also
sends
the mail at start up but not after the following 30 minutes.

I'm not sure whether noip is running every 30 minutes I've been tailing
/var/log/messages and I cannot see anything related to noip there.

Can anyone on this list point me in the right direction?

Thanks

/Leslie



cron(8), maybe?

It is supposed to work as a daemon with no need for cron!
/L


!DSPAM:4d405e91283431811913398!


ktrace the process.

man ktrace and pay attention to how to stop the ktrace process

and

man kdump to see how to read the output.

Hope that helps!

Jeff

Reply via email to