list_all_crons
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
list_all_crons [2015/04/01 18:19] – created luke7858 | list_all_crons [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | === List cron for a specific user:=== | ||
+ | <sxh bash> | ||
+ | crontab -u username -l | ||
+ | </ | ||
+ | \\ | ||
+ | ===List crons for every user === | ||
+ | <sxh bash> | ||
+ | for user in $(cut -f1 -d: / | ||
+ | </ | ||
+ | |||
+ | |||
<sxh bash> | <sxh bash> | ||
for cron in `ls -1 / | for cron in `ls -1 / | ||
+ | </ | ||
+ | \\ | ||
+ | === Viewing Cron Start Time === | ||
+ | <sxh bash> | ||
+ | date; echo; ps -ef --sort=start_time | grep php | head -n 15 | ||
</ | </ |
list_all_crons.1427912371.txt.gz · Last modified: 2024/05/23 07:26 (external edit)