Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A script to watch the Apple Refurb Store for products Internet
This script will allow you to automatically and periodically check the U.S. Apple Store (refurbished section) for a given product. It will notify you whether that item is available or not. The script needs to be placed into /usr/local/bin and requires you to set up a crontab file (instructions are included in the script). This is based off of another script found here.

Here's my script; copy and paste the contents into a new file in the Terminal using your favorite editor and follow the instructions in the script to make it work for the product(s) you are interested in watching.

[robg adds: Due to long line lengths that aren't easily broken, I've put this script online as a separate text file which will open in a new window.]
    •    
  • Currently 2.50 / 5
  You rated: 4 / 5 (2 votes cast)
 
[15,265 views]  

A script to watch the Apple Refurb Store for products | 2 comments | Create New Account
Click here to return to the 'A script to watch the Apple Refurb Store for products' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to watch the Apple Refurb Store for products
Authored by: Greedo on Apr 19, '04 02:04:34PM
There is no reason to put the script in /usr/local/bin If you are going to use a bunch of personal shell scripts, the common way to do it is to create a bin directory in your home directory:

mkdir $HOME/bin
And then add it to your path by adding this to ~/.profile

if [ -d $HOME/bin ]; then
    PATH=$HOME/bin:$PATH
    export PATH
fi
And I don't think you need all those environment settings for $HOME and $PATH in the top of the script. If you run it from your own crontab, those environment variables will already be populated.

[ Reply to This | # ]
A script to watch the Apple Refurb Store for products
Authored by: miles_thatsme on Apr 19, '04 04:45:39PM
A very clever script would allow you access these refurb deals from outside the US. I recently discovered that not only could I not take advantage of any Apple US deals, here in Canada, but the Canadian Apple Store doesn't offer any such refurb or cut-rate products. Shame!

It's one thing to not have iTMS, as there are copyright issues. It's another to let Canadian customers sneak around Apple Canada and shop from the US parent--but why cut Canadians offer when Apple Canada doesn't even offer the product?

[ Reply to This | # ]