Ok, so... like many who are waiting for their build.. I have been heavily abusing the refresh button on the build status page. I thought it may be nice to have a script to do this for me.. So, I wrote one.
Geeky stuff below
I'm a linux geek (as may be obvious by my username), so I wrote this in bash script, using the following command line tools:
If you'd like to see the script, you can do so on PasteBin at the following URL:
http://pastebin.com/MR2q9JQZ
Usage:
From a terminal prompt:
Note: You can of course edit the script with whichever editor you prefer (no need to learn vi). You must however edit the script to set your credentials and order id (details inside the script).
Once you run the script, it'll generate a 'tesla_status.log' file in your home directory (name/path to this log is editable inside the script). Inside the log, you'll see a date/time stamped status output. This log will *only* have new lines added when the status is different from the previous check.
Sample output:
Happy to answer any questions!
LK
Geeky stuff below
I'm a linux geek (as may be obvious by my username), so I wrote this in bash script, using the following command line tools:
- cURL
- links
- awk
- sed
- grep
- date
If you'd like to see the script, you can do so on PasteBin at the following URL:
http://pastebin.com/MR2q9JQZ
Usage:
From a terminal prompt:
Code:
wget "http://pastebin.com/raw.php?i=MR2q9JQZ" -O tesla_status.sh
chmod 700 tesla_status.sh
vi tesla_status.sh
./tesla_status.sh
Note: You can of course edit the script with whichever editor you prefer (no need to learn vi). You must however edit the script to set your credentials and order id (details inside the script).
Once you run the script, it'll generate a 'tesla_status.log' file in your home directory (name/path to this log is editable inside the script). Inside the log, you'll see a date/time stamped status output. This log will *only* have new lines added when the status is different from the previous check.
Sample output:
Code:
2015-09-29 13:40:01 Model S,5YJSA1E22FF108569,Order Confirmed,Your Model S has entered the production queue at our Factory in Fremont, California.
Happy to answer any questions!
LK