Explorar o código

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

Peter Nguyen %!s(int64=5) %!d(string=hai) anos
pai
achega
46023de9dd
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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`