[BNM] *n?x : cron management question

Pete Dowdell contact at stridebird.com
Tue Dec 12 09:55:57 GMT 2006


Stephen Ticehurst wrote:
> I'm not sure about a cmd that will do it all in one go, but if I was going to do it then I would use the following cmds in borne/bash shell.    This grabs the names out of the passwd file and then runs crontab to list for that user.   
>
> for t in `awk -F: '{printf "%s\n",$1}' /etc/passwd`; do crontab -l -u $t; done
>   

Great response, thanks very much!  That does the job.

Pete



More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service