[Macpartners] automate patch download & install

David M. Templeton dtemp at MIT.EDU
Tue Jun 23 15:11:07 EDT 2009


I've gotten scripts to run by making a text file named daily.local (or  
weekly.local or monthly.local) in the /etc folder owned by root.  It  
will run the commands in that file as root.

On Jun 23, 2009, at 2:52 PM, Duncan S Kincaid wrote:

> good point!
> to address this, our script will not run if any user but admin or root
> logged in.
>
>
> On Jun 23, 2009, at 2:49 PM, Helen Rose wrote:
>
>>
>> On Jun 23, 2009, at 14:42 EDT, Duncan S Kincaid wrote:
>>
>>> you can write a shell script which runs as often as you like at
>>> whatever time of day you like (use launchd).
>>
>> Be careful. Make sure whoever uses the machines with this auto-
>> update knows that they need to save & log out else they could lose
>> open files.
>>
>
>
> |
> |
> |
> |
> |
> |
> |
> |
> |
> | 
> | 
> ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> duncan kincaid
> cron | mit school of architecture and planning
>
>
>
>
> _______________________________________________
> Macpartners mailing list
> Macpartners at mit.edu
> http://mailman.mit.edu/mailman/listinfo/macpartners




More information about the Macpartners mailing list