[Wolves] Cron help please....
Ron Wellsted
ron at wellsted.org.uk
Sat Oct 7 20:53:45 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Morley wrote:
> I would like my server to auto update so I am figuring that one way to
> do this would be to set it as a crontab job how would I get around the
> whole 'sudo' issue or is crontab accessible to root only? Can't find
> any where that is too specific about this point in Ubuntu or debian
> docs.
>
"sudo crontab -e" is your friend. The best approach would probably be
to make a shell script with
apt-get update
apt-get upgrade
and run this from the crontab entry.
- --
Ron Wellsted
ron at wellsted.org.uk http://www.wellsted.org.uk
N 52.567623, W 2.137621 Linux Counter No. 202120
FWD:519961
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRSgFxEtP/KMNOfRbAQLziwgAgauGKjY1RTbC37Mu9loGyZwao5uP6fpw
whFU6LZIK/j1zzOyCe08CwyuQg2V9mCL4dCyQfI7P8vZtAVvrjMig5Yh5cuei6zT
+IGplvNR0EYsFjxZJvW85aYOVwmjpxGX1ZA6SiI2OuPenjGkUtXqIcvoo6Zh40ob
XfnZN+09QcVOju+y2Wto/2Swz0x2OOzxsqJj0Jlvgw4UC+nBe/hMq2uGoLQnKVTg
jalCfjeNCfk/Vd8RyJ6SoIXDQKmmFRqFM7TzIExzfsplHrvgHTUqBoJqs9k9zjfG
MZHuA57MyFm++XBj1WZh9FypQn1JgLmENt4H2kl7dAkB+4+oDJpuEQ==
=IPxk
-----END PGP SIGNATURE-----
More information about the Wolves
mailing list