From 46023de9ddae744eb665fb64f48296a148560dfd Mon Sep 17 00:00:00 2001 From: Peter Nguyen Date: Tue, 9 Jul 2019 19:27:00 +0200 Subject: [PATCH] crontab: Add example of editing crontab for a user using the -u flag (#3178) --- pages/common/crontab.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/crontab.md b/pages/common/crontab.md index c8bc2d5bb..b67f1d030 100644 --- a/pages/common/crontab.md +++ b/pages/common/crontab.md @@ -7,6 +7,10 @@ `crontab -e` +- Edit the crontab file for a specific user: + +`sudo crontab -e -u {{user}}` + - View a list of existing cron jobs for current user: `crontab -l`