how to autorun script at startup as administrator?
Colin Watson
cjwatson at ubuntu.com
Wed Dec 18 20:49:48 UTC 2019
On Wed, Dec 18, 2019 at 09:21:44PM +0100, Thomas Kaiser wrote:
> On 18.12.19 20:45, Dave Stevens wrote:
> > On Mon, 16 Dec 2019 23:24:17 -0500
> > Little Girl <littlergirl at gmail.com> wrote:
> >
> > Can anyone point me in the direction of a script running as admin
> > without intervention?
>
> Run it from root's crontab. Check every n minutes if the script is
> running, if not start it. I know it is bad, but it works.
If you're taking the crontab approach, then you can use "@reboot"
instead of the first five fields, which is defined as "run once, at
startup".
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list