Explorar el Código

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

Peter Nguyen hace 5 años
padre
commit
46023de9dd
Se han modificado 1 ficheros con 4 adiciones y 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`