Hello, On Thu, 23 Aug 2007 13:59:37 -0500, Derek Ragona <[EMAIL PROTECTED]> wrote: > At 01:48 PM 8/23/2007, Narek Gharibyan wrote: >>#!/bin/sh >> >>Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> > /root/stat >>&& echo "===========================" >> /root/stat >> >> >> >>I wrote this script for collecting ping statistic (after I email to a > group >>the stat file). >> >>1. how can I run this at startup
> Add your script to root's crontab. do a man on crontab for the exact > syntax, but you can have it run @reboot then an interval. I also have a script that I want to start at boot time and I simply symlinked it to /usr/local/etc/rc.d/ It starts fine but now I wonder if maybe this is not the proper way to start up scripts? -- Zbigniew Szalbot www.slowo.pl www.lcwords.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"