User Tools

Site Tools


list_all_crons

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
list_all_crons [2016/02/29 07:36] luke7858list_all_crons [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
-List cron for a user:+=== List cron for a specific user:===
 <sxh bash> <sxh bash>
 crontab -u username -l crontab -u username -l
 </sxh> </sxh>
-List crons for every user+\\ 
 +===List crons for every user ===
 <sxh bash> <sxh bash>
 for user in $(cut -f1 -d: /etc/passwd); do echo -$user-; crontab -u $user -l; done for user in $(cut -f1 -d: /etc/passwd); do echo -$user-; crontab -u $user -l; done
list_all_crons.1456731398.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki