Welcome to the Telecom world....

Hi All, Trying to make this Blog as learning Space for Telecom Protocols & Basic Programming Stuff. U will find Lots of Grammatical & Spelling mistakes. But who cares 4 that... Idea behind This: To share daily technical stuff as learning lessons...

Wednesday, March 28, 2007

Crontab Functionality

Hi,
Here i m with littel Unix Stuff.

Let's Talk About Unix CRON Jobs.

Crontab ( Cron Table ) Used to Schedule Commands to run at later time.

U Can Find info by Giving man crontab, Here I m giving some info about it.

You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow.
If that file does not exist,
you can usecrontab if your name does not appear in the file /usr/lib/cron/cron.deny.
If only cron.deny exists and is empty, all users can use crontab.
If neither file exists, only the root user can use crontab.

Options for Crontab
----------------------------------------------------------------------------
crontab -e To Edit crontab file.
crontab -l To Display crontab file.
crontab -r Remove crontab file.
----------------------------------------------------------------------------

A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval.

Syntex For Crontab is

* * * * * command to be executed

U Can replace 1st * with: hour (0 - 23)
U Can replace 2nd * with: min (0 - 59)
U Can replace 3rd * with: day of month (1 - 31)
U Can replace 4th * with:month (1 - 12)
U Can replace 5th * with:day of week (0 - 6) (Sunday=0)

Example for the Crontab :

30 23 * * * rm /home/user/tmp/*

->it Indicates that, At 23:30 Daily all files from folder /home/user/tmp/ will be removed.


30 23 * 10,12 1-5 rm /home/user/tmp/*

->it Indicates that, At 23:30 every weekdays (Mon-Fri) in Oct & Dec all files from folder /home/user/tmp/ will be removed.

Note: U Can put # as a 1st Character of line & that line will not considered as Cron Job.

Thursday, March 8, 2007

Again One More Software ( HTTrack )

HI Again,
Here again me Suvrat with one more free stuff called HTTrack for whom who loves to read but in offline.

Its a software tht copies a websites with its all links to Ur HD & give u access of it while ur offline. I liked it becoz its very useful when u wanna read any online documents or E-Books which was written in HTML. Not interested to write much about it. U can get it from provided link. Have a FUN..

Sunday, March 4, 2007

First Post..( Ext2-IFS )

Wht To write In 1st Post.. ?

Yep Let me tell u about my struggle 4 today...

From Morning i m trying to manage files in my laptop for both OS (Xp & Linux ),
the biggest problem is that both OS have different file system ( NTFS & EXT3) ,
My Linux OS is not supporting drivers for Modem & at now i m not in a mood to make it working.. so i always have to search Linux stuff using XP & again problem of transferring downloaded file to Linux partition. But At last i find a software called " Ext2-IFS ". U can find detail about it on given link. Its just gives u access to Ur Linux partition in windows.