Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 13:48:48 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        Oi Yan <oiyanca@yahoo.ca>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: crontab
Message-ID:  <3D645F20.6060700@au.darkbluesea.com>
References:  <20020822034743.64125.qmail@web21510.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oi Yan wrote:

>Hello
>
>Can I set crontab which only works after reboot the
>server everytime
>
>If possible, how can I do it?
>
>Thank you
>
>______________________________________________________________________ 
>Post your ad for free now! http://personals.yahoo.ca
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>  
>
you probably don't want a cron job..

If you put your script in /usr/local/etc/rc.d, make sure it ends with 
.sh and is executable, it will be run on every server reboot. This is 
probably what you're looking for.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D645F20.6060700>