Site Tools


linux:general:crontab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:general:crontab [2017/05/16 10:36] – created lunetikklinux:general:crontab [2019/10/07 10:59] (current) lunetikk
Line 21: Line 21:
  * * * * *  command to execute  * * * * *  command to execute
 </code> </code>
 +
 +=== Commands ===
 +
 +^  Command  ^  Function  ^
 +|  crontab -e  |  Edit crontab of the current user  |
 +|  crontab -l  |  List all crons of the current user  |
 +|  crontab -u %%<%%user%%>%% -e  |  Edit crontab of another user  |
 +|  <code>for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done</code>  |  List crons of all users  |
 +
  
 === Useful links === === Useful links ===
Line 30: Line 39:
 \\ \\
 \\ \\
-~~DISCUSSION~~+~~DISCUSSION:closed~~
linux/general/crontab.1494923815.txt.gz · Last modified: 2017/05/16 10:36 (external edit)