Hi all, I am trying to get a script working that I can execute from command line every one or two weeks to take care of a lot of maintenance issues at once, systematically. Right now, the script looks like this: Code: COMMAND_LINE_INSTALL=1 export COMMAND_LINE_INSTALL echo "Now running system maintenance tasks. This computer will shut down after completion of all tasks." echo "" PERIODIC DAILY PERIODIC WEEKLY PERIODIC MONTHLY diskutil repairpermissions / update_prebinding -root / -force softwareupdate -i -a shutdown -h now The script works fine (I run it via sudo), for the most part. I use this command line: sudo ./cleanup >logs/20050130.log (or whatever the date is) One issue is that right now, update_prebinding does not seem to provide an output to stdout that gets piped into the log file. Is there any way to force it to do this? Or is there a log file somewhere, the contents of which I can cat into my log file? I didn't see anything in /var/log that looked like it belonged. But I know that there is output in the console normally when doing an update_prebinding. Thanks anyone for help!