Search Results

Search: Posts Made By: Talcon
Forum: OS X (Apple) 03-15-2009
3,388
Posted By Talcon
This is how my code appears now: #!/bin/sh ...
This is how my code appears now:

#!/bin/sh
applesw=`/usr/sbin/softwareupdate -l | grep 'Software Update' | awk '{print $5}'`
logger "Software update status: '$applesw'"

loggedin=`who | grep...
Forum: OS X (Apple) 03-15-2009
3,388
Posted By Talcon
Thank you very much for your input. I have taken...
Thank you very much for your input. I have taken what you have suggested and implemented it. When Crontab runs and executes my script, this is what it logs:

Mar 15 21:57:33 ecsxloan1 root:...
Forum: OS X (Apple) 03-13-2009
3,388
Posted By Talcon
Execution Problems with ASU Shell Script
Hello. I have been trying to create a shell script that checks to see if there are software updates and if not, then exit the script. If so, then check to see if a user is logged in. If a user is...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy