Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2008 21:05:44 +0200
From:      Wael Nasreddine <mla@nasreddine.com>
To:        FreeBSD Mailing Lists <freebsd-questions@freebsd.org>
Subject:   Re: Screen inside Jails + su
Message-ID:  <20080409190544.GB5664@phoenix.nasreddine.info>
In-Reply-To: <20080409184216.GA16393@aleph.cepheid.org>
References:  <20080408220005.GA23508@phoenix.nasreddine.info> <20080409005217.GA97058@aleph.cepheid.org> <20080409010503.GB15556@phoenix.nasreddine.info> <20080409184216.GA16393@aleph.cepheid.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This One Time, at Band Camp, Erik Osterholm <freebsd-lists-erik@erikosterho=
lm.org> said, On Wed, Apr 09, 2008 at 01:42:16PM -0500:
> Sure.

> At your shell prompt, type:
> man 5 crontab

> You'll find the man page for the crontab file, which includes multiple
> examples of cron entries.  All of those use the time specification,
> though, rather than the @reboot keyword.

> An example using @reboot:
> @reboot			/usr/local/bin/screen -d -m Rtorrent

> You can edit the crontab for the user with this command at your shell
> prompt:
> crontab -u username -e

> This will dump you into your editor, editing the crontab file for the
> user "username".  Type in the crontab entry (for example, the one I
> used as an example above), save, and try restarting the jail.

Thank you, I googled a bit yesterday actually and now it's working
perfectly :)

I use linux since 6 years and I've never seen this reboot command
actually, but I'm used to cron, but thanks a lot for pointing this out,
it's very useful :)

> Erik

--=20
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/<o>\ The mark of a good party is that you wake up the next morning wanting=
 to
/<o>\ change your name and start a new life in different city.
/<o>\ 		-- Vance Bourjaily, "Esquire"

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)

iEYEARECAAYFAkf9E4gACgkQVWU5RcjdGKKGTQCghh5vedt2gxtF51jm3L95rqXj
xnUAoNGooninDo3n4iGyZ3lrVmJsfAnI
=jClJ
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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