Parcourir la source

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

Peter Nguyen il y a 5 ans
Parent
commit
46023de9dd
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      pages/common/crontab.md

+ 4 - 0
pages/common/crontab.md

@@ -7,6 +7,10 @@
 
 
 `crontab -e`
 `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:
 - View a list of existing cron jobs for current user:
 
 
 `crontab -l`
 `crontab -l`