cat /etc/passwd | awk -F: '{print $1}' | while read line; do echo $line; crontab -l -u $line; done
Just another WordPress site
cat /etc/passwd | awk -F: '{print $1}' | while read line; do echo $line; crontab -l -u $line; done
This entry was posted by admin on February 2, 2010 at 5:05 pm under bash, bash scripting, linux. You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.
Leave a Reply
You must be logged in to post a comment.