Hello,
So on Mac OS X, I am using crontab to automatically run a script I wrote for Mac OS High Sierra to automatically update the tor relaying software every day at 1am.
The cron command I am using is this: 0 1 * * * /Users/oldimac/Desktop/update\ tor.scpt
The script I wrote seems to work fine for updating tor, however it seems to have trouble updating homebrew.
Here are the contents of the script:
do shell script "$ which brew
/usr/local/bin/brew update"
do shell script "$ which brew
/…
[View More]usr/local/bin/brew upgrade tor"
end
When the script is run, the output is this:
sh: $: command not found
Error: tor 0.3.2.10 already installed
So it seems to be that it updates tor ok but when it tries to update homebrew the error is “command not found”.
I previously tried do shell script “brew update” however that only turns to a "command not found" error and only works in terminal but not AppleScript.
Also, after writing the crontab command, I launched crontab via terminal via running “crontab” which loads to a blank Terminal screen. Do you know of a way I can check the script actually ran?
Thank you very much.
[View Less]
Dear readers,
I tried to use different operating systems and hardware architectures
for my Tor relays for diversity. So I came to the Parisian provider
Scaleways, which has a cheap offer for ARM servers for € 2.99 per month.
Debian was available with architecture "armhf / armv7l". I knew that,
but I did not want to believe it. After performance trouble and a server
crash I tested "/etc/cpuinfo" and 'lscpu'. There are Raspberry Pi in the
cloud! From my personal device at home I know, that full …
[View More]cpu performance
will kill the device due to overheating. Oh no! Must change to the next
offer with x86_64 for € 11,99 / month. What can I expect? An old Pentium
with 400MHz?
https://www.scaleway.com/baremetal-cloud-servers/
My order was "C1 - A true metal ARM server running in the cloud."
"4 Dedicated ARM Cores, 2GB Memory, 50GB SSD Disk / 200Mbit/s unmetered
bandwith"
The information for interested parties only. No discussion required.
Olaf
[View Less]