Working with Cron Jobs

For a while now, I have been using my shared hosting to backup/store numerous image files. Retrieving those files over the internet has always been a pain. Especially when there are hundreds of files in a given folder. The end goal is to be able to download the archived folder to my computer for easy viewing.

So, I took the time to code something up. Here’s the psuedo code:

  1. zip folder
  2. rename zip to include date stamp
  3. move zip to another destination
  4. delete contents of folder for future backups
  5. give myself a high five

Of course, I Google’d and looked for an easy way out… to see if some has posted the exact code I was looking for. No such luck but here are the links that were handy:

What I learned:

  • Cron Jobs on shared web hosting gives us the ability to run automated shell level scripts.
  • Cron Jobs coding was essentially Unix, nice I can code Unix!

Once I got started, I did run into a few Cron Jobs specifics:

  1. you have to escape the ‘%’ sign with a ‘\’ in a cron job, http://www.webhostingtalk.com/showthread.php?t=678062
  2. bonus: && operator, helped me reduce my script to one line, http://forums.freebsd.org/showthread.php?t=30964

Nevertheless, here’s the script that will hopefully help someone else looking to compress and backup a whole directory then delete its contents:

zip /destination/of/directory/with/date/label/$(date +\%Y\%m\%d).zip /directory/to/be/zipped/* && rm /directory/to/be/zipped/cleared/*

Happy Coding!

DSL Extreme Service, Signup Scam

Beware Potential DSL Extreme Customers!

My Comcast bill recently jumped up after our promo year ended. I then decided to give DSL a try. DSL Extreme, was bragging about providing 6MBs. I called to confirm that I could get the service. “Yes, you can. We can provide 6mbs in your area.” With that I signed up with their service AND essentially threw away $240. Don’t trust DSL Extreme or their employees, because what they tell you doesn’t mean anything. The tests they do to confirm the speed you can get don’t mean anything. Please read the following support ticket:

Hello! A new DSLExtreme.com ticket has been created for your issue:

Ticket ID: 5330797
Time Created: 4/30/2013 9:08:43 AM
Issue: Thuan called in to cancel the account due to slow speed, he said he can’t get the speed he signed up for which is 6meg.

Resolution (if completed): Checked the account. Informed that he’s still on a contract, and if he will cancel his account Early Termination Fee or Contract payoff will apply on his account. He said that we are not giving him the 6meg speed. Informed him that the speed on his account is 3000-6000/512-768 and per our terms and condition we’re still good of the 80% of the minimum speed which is 2400meg. He said that he will contact his credit card and will have a dispute on the charge.

Please include the subject line in any replies concerning this issue.

As you can see it’s all in the fine print. According to their terms and conditions, all they are required to get you and hold you to your contract is 80% of the minimum. In my case it was 2.4MB… THAT’S LESS THAN HALF OF WHAT I THOUGHT I WOULD BE GETTING!!!

My contract started on 4/23/2013, and since day 1 I had contacted DSL Extreme and ATT multiple times. The ATT Field Tech came out to work on my line several times and even brought out a line specialist. I am sure he documented this in his notes and it could be confirmed by DSL Extreme. Then on 4/30/13, I gave up and asked to cancel because the speed just wasn’t there.

I tried to use there service for a week, it’s not like I took advantage of them somehow. I even had my own modem, they didn’t send me one.

Apparently, DSL Extreme doesn’t care for CUSTOMER SATISFACTION. The only thing that matters is the money. Well, I am not satisfied and will tell everyone about this. And will tell my other family members currently using use DSL Extreme to cancel. FYI DSL Extreme, I have suggested a few people to use you and they actually are. Good bye to that.

We will continue to pay and use the service along with additional service for principals sake. I just hate wasting money. Well there’s also the fact that I don’t want to deal with debt collectors or take a hit on my credit. BLAH!, I tell you! BLAH!

And like you DSL Extreme, I have a price to remove this post: $500 and the cancellation of my service!

BTW, it can also be assumed that if you live in the Evergreen area… don’t even think about AT&T service! It sucks. Stick with Comcast. The speed is well worth the price they charge.

Blog Upgrades

I just did a few upgrades. I added Facebook, Twitter, and Google+ like buttons. I also completely replaced the original WordPress comments system with the Facebook comments system. The upgrades will make my blog easier to use and more interactive. There is a drawback, all of the old/original comments are gone. Especially, the helpful osCommerce module related comments. I am sorry I that inconveniences anyone.

eBay: 9% S/H

eBay is taking more nowadays. After selling off a few extra items I noticed that eBay took a fee off of my S/H charges. If you look into their final value fees, you’ll see this:

Here’s a simple example of a final value fee calculation for an auction-style listing:

  • You sell an item for $95.00 with a shipping cost of $5.00.
  • Your final value fee on the item cost is 9% of $95,00, which is $8.55.
  • Your final value fee on the shipping cost is 9% of $5.00, which is $0.45.

It’s the same thing as: item cost + shipping cost * 9%, which equals: total value * 9%. No wonder they aren’t charging an insertion fee any more; they simple raised rates all around. Then add on PayPal fees (~5%), which means eBay nearly takes 15%. Some seller are paying 20%+, WOW!

Just thought I would rant a little to spread the word around to all you unsuspecting eBay sellers…

A Little Warning About ZenniOptical.com

About 2 weeks ago I bought 4 pairs of eyeglasses from ZenniOptical.com and got them about a week. Ordering from them was a cinch and enjoyable. But (there’s always a but), when 2 the pairs that were for me ran a little small; the other 2 were for the kids and fit them perfectly. One of the was a medium (#730712) and bearable but the other which was supposed to be medium/large (#730712) but actually smaller than the medium.

Immediately I emailed support asking for a refund. But they said, “after your return has been processed by our office, you will receive a refund in the amount of fifty percent of the production cost of the returned glasses. We do not reimburse for shipping and handling. So, I asked if I could exchange? Again they repeated that it was my fault and should have read the sizing instructions, which I did! Additionally I had already ordered from them before:

The brown case and pair to the right are from an older ZenniOptical.com order; IMO when their quality was much better. Look at the cases they give you now, about half the size of the original. They really cram them in there. I digressed a little didn’t I? As stated they didn’t care I am a repeat customer or the fact that they glasses I got for myself were bought as spares and dirt cheap. Why would I scam them over $15? Additionally, of the four I bought these were the cheapest! Oh, the photographic proof of their mislabeling/sizing:

No more buying them for me, especially after what I just went through. I know it’s only $15, but its the principle of it all… how easily they took my money but can careless if they made a sizing mistake. So, be careful if you are thinking about ordering from them. Oh, by the way I’ll be keeping them because it just doesn’t make sense: $15+s/h, return for 50% ($7.50)-s/h costs(3.75)=3.75. That means I paid $12 and some change for their sizing mistake and end up with nothing!

[rating:2/5]

-Thuan

Bad GoDaddy Customer Service

Last night, I noticed a couple of my sites were down, both hosted on GoDaddy. After talking to support for about an hour and hearing that it was my fault. I did my own check up and restarted the application pool for ASP.net. That worked.

But this post is not about there servers randomly going down. It’s about another bad customer service experience I had with GoDaddy support. Every time I asked for the support expert (ha) to check to see if something had gone wrong on their end he said, “nothing has gone wrong, your site is scripted wrong.” Even after explaining that I had not touched my site in ages and the other was install by GoDaddy… he continued to disregard any my suggestion/queries has to what might have gone wrong.  In the end all I wanted was the sites up and not to point a finger.

I even started a post on their forums and without surprise other users have been experiencing the same problems for 30+ hours. Honestly they could have just checked and might have found/suggested something like “please try restarting your application pool?!?!”

http://community.godaddy.com/groups/web-hosting/forum/topic/sites-down-1/

It gets worst they edited any (if not) all the comments on the forums that made the server failures their fault. Again saying it’s our fault. Big time, NO NO!!!

After writing this I will still keep the sites mention with them because moving the sites will be such a hassle and their prices are one of the lowest for Windows hosting. But as for future sites and any potential customers they might have had going to them from me… the count is now ZERO.

So if you are considering GoDaddy web hosting. Be very very careful.

[rating:2/5]

-Thuan

Ooma

I have been using Ooma now for about a year. Initially the free line was going to take over our land-line. I ended up keeping our land-line for emergency reasons.  You know… in case our internet and all our cellphones go bad, lol. No matter how you look at it the Ooma beats having to pay $30+ monthly for unlimited nationwide calling, 3-way calling, caller ID, call waiting, and more.

Admittedly, it has its ups and down. To use the line as a fax number, I had to tweak the system a little. If you are using any Voice over IP type of system, you should really give Ooma a try… it’ll save you hundreds of dollar a year! Whatever you do though, don’t buy their Telo headset. It’s a piece of junk that has little features, low volume, and poor clarity. (Update: If you get the Telo headset, you get the instant second line… free.)

Ooma support seems to be outsourced and utterly useless. They’ll just repeat what is on the Ooma website. If you have any problems with an Ooma go to their forums, you find your answer there. Oh, BTW, I have had to RMA my first one already because I stopped work after two weeks.

Long story short, Ooma is great when it is works. There is a small learning curve and once you have it set up right, everything will be great.

One more thing, there are two versions of Ooma, the Hub and Telo. The Telo is the later version and looks slicker, but comes with an annual tax of approximately $11.

[rating:4.5/5]

DNN Forums Stored Procedures

If you anyone gets these errors from Dotnetnuke Forum Stored Procedures…

Msg 207, Level 16, State 1, Procedure Forum_AA_StatisticsSiteUpdate, Line 64
Invalid column name ‘IsPrivate’.
Msg 207, Level 16, State 1, Procedure Forum_AA_StatisticsSiteUpdate, Line 78
Invalid column name ‘IsPrivate’.
Msg 207, Level 16, State 1, Procedure Forum_ForumUserViewsUpdate, Line 0
Invalid column name ‘LastForumsView’.

This is because the table columns were changed without updating their relevant stored procedures. After looking at the stored procs and the table structures, it seems that:

IsPrivate is now PublicView &
LastForumsView is now LastActivity.

Changing the variables mentioned temporarily fixed my problems.

HTHs,
Thuan

DNN RADeditor Config’ing

A few weeks back I updated all my DNN sites to 5.4.4. Primarily to take advantage of ASP.net 3.5, but I also needed to come to terms with the fact that skins are now treated as modules. There were many other changes, one that came as a surprise was that FCKeditor was no longer DNN’s default editor. Telerik’s RADeditor was the new big guy in town and works just as well, but better in that it has more tools. The most useful tool that I have already taken advantage of is it’s spell checker. With that said, can there be too many tools? Tools that some of us will never use? YES!!! This is where the RADeditor’s configurability comes in handy. If you are looking to remove some of the tools from the default configuration, then edit this file…

DNN/Providers/HtmlEditorProviders/Telerik/Config/ToolsDefault.xml

I suggest that you only comment out the tools that you don’t want, you might find them handy later on…

If you look within the DNN/Providers/HtmlEditorProviders/Telerik/ folder you will also find the EditorOverride.css file. Which I found I needed to edit because by default the editor used the same “imaged background” and “centered” properties the site used.

Finally, if you find that you don’t like Telerik’s RADeditor, you can always revert back to the original FCKeditor via the web.config file…

find:
<htmlEditor defaultProvider=”TelerikEditorProvider“>
… change it to:
<htmlEditor defaultProvider=”FckHtmlEditorProvider“>

Happy Coding,
Thuan

Instant Messaging All-In-One (AIO)

It was just a few years back when Trillian dominated the IM scene, that was when they didn’t require an additional account. Trillian 3 was the last of its kind, or at least I thought so for a while.

To be frank, if I were forced to sign up for a new account I would rather use Meebo. Meebo is another popular AIO IM platform, their thing is that you don’t have to install anything; all you need is an Internet connection to get going with them. Still a new account is required if you want to see all your clients in one place.

But after some searching, I found Pidgin. Pidgin, the universal chat client is exactly what Trillian 3 was and my new favorite AIO IM program. Pidgin is an easy to use and free chat client used by millions. Connect to AIM, MSN, Yahoo, and more chat networks all at once. It is simple to use and light on resources. So, if you are on the hunt for a new chat client.

Give Pidgin a try…

“IM all your friends in one place.”