list_all_crons
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| list_all_crons [2015/09/08 09:21] – luke7858 | list_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 |
| <sxh bash> | <sxh bash> | ||
| crontab -u username -l | crontab -u username -l | ||
| </ | </ | ||
| - | List crons for every user | + | \\ |
| + | ===List crons for every user === | ||
| <sxh bash> | <sxh bash> | ||
| for user in $(cut -f1 -d: / | for user in $(cut -f1 -d: / | ||
| Line 11: | Line 12: | ||
| <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.1441704099.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
