[metrics-team] Self-Made Method Of Auto Updating Tor Relaying Software On Mac OS X

Karsten Loesing karsten at torproject.org
Fri Apr 20 10:26:45 UTC 2018


On 2018-04-20 05:19, Keifer Bly wrote:
> Hello List,
> I thought I’d share an applescript I wrote to automatically update the tor relay software and homebrew one minute after midnight every day.
> Here is the source code (written using AppleScript editor)
> do shell script "$ which brew
> /usr/local/bin/brew update"
> do shell script "$ which brew
> /usr/local/bin/brew upgrade tor"
> end
> When it runs, it comes up with this error, saying tor is already up to date.
> sh: $: command not found
> Error: tor already installed (1)
> As this is the only error that appears, I’d take it that the script works
> It can be scheduled to run automatically at midnight every night via this method I found here:
> https://apple.stackexchange.com/questions/24862/how-can-i-configure-my-computer-to-run-an-applescript-at-a-specific-time-caveat <https://apple.stackexchange.com/questions/24862/how-can-i-configure-my-computer-to-run-an-applescript-at-a-specific-time-caveat>
> I am curious to know what you all think of this tactic if you will, please let me know as you can give it to others if you wish. Thank you.

To repeat Iain's message in response to an earlier message you sent to
this list:

You've contacted the mailing list for development of Tor Metrics and
internal team communication. This would be better suited for the Relay
Operator's list:


Thanks for running a relay.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 528 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/metrics-team/attachments/20180420/12b5d943/attachment.sig>

More information about the metrics-team mailing list