That’s right. Believe it or not. I created my first cron job TODAY! This is what it looks like:
0 4 * * * cd /var/www/mysite/ && node gmailscripts/watch.js email@example.com
It’s a very simple job that calls a Node.js script to renew a watch I have on one of my Gmail accounts. at exactly 4:00am daily. Now, what is a watch or why I am watching my mailbox are beyond the scope of this little blog post. Basically, I have a nifty little Node.js API that I use as a webhook to get notification updates from Gmail whenever a new mail arrives. It then checks if the new mail has a specific subject and from address, which when true instructs the API to call a custom parser to scan the contents of the new mail and return me important bits of information that I then save in a database. Geeky? Perhaps it is. I plan to do a separate blog post on how you can do the same (not setting up cron, but watching Gmail mailboxes for new mail programmatically).
Back to cron again: it’s not that I didn’t know the concept of automated jobs before (in Linux or otherwise), I guess I never really needed to create a scheduled job before. Creating the job was not as much fun as reading the correct way to do it. I followed this Digital Ocean community tutorial, which is now 6 years old but stays relevant today.
On this topic, in my professional life I’ve literally seen people learning about this ‘cool’ tool and then misusing it for all sorts of software development things that can be (and should be) done using some form of publish-subscribe or message queue design pattern.
In a bid to help save Tasmanian Devils from extinction, Linus Torvalds decided to release the latest Linux kernel with the “Tuz” logo as the console image at the LCA 2009 conference. Tuz is a name perhaps derived from the popular Linux mascot Tux, plus Tasmanian Devil (Taz – as it was known as a Looney Toones cartoon character). So Tuz replaces Tux as the console boot image for the kernel release 2.6.29.
So 2.6.29 isn’t quite out yet, but I’ve merged the new Tuz logo, so now my laptop boots up with two of these guys showing. See an earlier post about the plush version of this that I got while in Hobart for LCA 2009.
– Linus Torvalds
In another news, GMail gets support for writing emails in Indian languages. The Google Transliteration technology had been around for some time now (through Google Labs), and this support for Indian languages in GMail was built using Transliteration.
We currently support five Indian languages — Hindi, Tamil, Telugu, Kannada and Malayalam — and you can select the language of your choice from the drop-down list next to the icon.
– Google Blog
Computer Talks is the second blog that I maintain quite frequently infrequently. It is a Blogger-hosted blog and one of my oldest ones.
Here are some recent blog entries from Computer Talks:
You heard it. Google’s Gmail offers themes now. Now, how did I first come to know about this? I woke up yesterday night to download some important stuff, started the download, opened Gmail in browser, checked my emails, changed my status message in Gmail to “Sleeping”, let the browser remain open with Gmail, turned off the monitor of my PC, and went to my bed to have some sleep while the download was in progress. [more]
Emoticons (Smileys) in Gmail
Today, as I was reading a friend’s email, I noticed he had used smileys in his email. It was surprising as I had seen people attaching images with the email, but emoticons? And that not attached but embedded in the text itself. [more]
Forum post number in Google results
Today, while Googling casually, I found out an all new feature in the normal Google search results. [more]
Most Visited Webpage
Thanks to my faulty and irritating (BSNL broadband) Internet connection, my most visited webpage is one of those frustrating default pages of Firefox (yup, you guess it; I am a Firefox user). [more]
Google is everywhere these days. Most of their products, or “innovations” as many people like to call them, usually get very successful. Like GMail, Orkut, Google Docs, and many more. Some time back, they decided that we, the people, need an all new browser that would redefine our browsing experience. So, here we have yet another browser. And the name is Chrome, Google Chrome.
Just a day before the launch of Chrome, a blog entry was made on the Official Google BlogÂ on 1st September notifying the readers about the launch date of a beta of Chrome. That was when I came to know about it. So, I eagerly waited for the next day to arrive. Although I had my exam the day following the lauch date, I still preferred to wake up at night and be one of the first ones to download it.
My first attempt on downloading was when I went to the official Chrome site for it. From there, I got a 470KB executable which would download the actual Chrome browser from the Internet. As my modem has a tendency to disconnect very frequently, I made 3 unsuccessful attempts of downloading Chrome through that 470KB file. On some googling, I got a direct link to the actual Chrome installer which was around Â 7MB in size.
Continue reading Google Chrome – My Views and Review