Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 00:05:40 +0800
From:      =?GB2312?B?1dTD+g==?= <webnamechina@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: schedule a script at "system startup"
Message-ID:  <25b88cc90512040805u7b5cf920mb0ca3c70b0f38ed3@mail.gmail.com>
In-Reply-To: <20051204164431.Q8514@maren.thelosingend.net>
References:  <7.0.0.16.2.20051203201101.061b5dd8@msdi.ca> <20051204164431.Q8514@maren.thelosingend.net>

next in thread | previous in thread | raw e-mail | index | archive | help
sometime ,you can use the commant : su - usename -c commant

man su

you will find it......good luck


On 12/4/05, Svein Halvor Halvorsen <
svein-freebsd-questions@theloosingend.net> wrote:
>
>
> * Ian Lord [2005-12-03 20:18 -0500]
> >  I would like to run a shell script at system startup which needs to run
> under
> >  a specific uid...
> >
> >  I don't see anything for this in man cron...
>
> See crontab(5)
>
> You can use the @reboot magic to make cron run a script once, at startup.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



--
==========================
NAME :webnamechina
N U M :9809338
E--mail:webnamechina@gmail.com
==========================



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