瀏覽代碼

crontab: Add example of editing crontab for a user using the -u flag (#3178)

Peter Nguyen 5 年之前
父節點
當前提交
46023de9dd
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pages/common/crontab.md

+ 4 - 0
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`