Scripts in crontab als root uitvoeren
Martijn van de Streek
martijn op foodfight.org
Wo Okt 24 11:58:13 UTC 2007
On Wed, 24 Oct 2007, Rick Stijnman wrote:
> Hoi ik heb een aantal scripts met commands erin die als root dienent te
> worden gerunt.
> Echter ik wil dat hij dit automatisch doet, dus heb ik ze in crontab gezet.
> Echter de scripts hebben root privilleges nodig, hoe kan ik dit in het
> script zetten?
Zet ze in de crontab van root:
sudo crontab -e
Martijn
--
Sorry isn't an excuse when you do something stupid on purpose.
------------- volgend deel ------------
Een niet-tekst bijlage is gescrubt...
Naam: signature.asc
Type: application/pgp-signature
Grootte: 827 bytes
Omschrijving: Digital signature
URL : <https://lists.ubuntu.com/archives/ubuntu-nl/attachments/20071024/7fd08622/attachment.sig>
Meer informatie over de Ubuntu-NL
maillijst