About Me

My photo
Bangalore, Karnataka, India
I am not old enough to know everything

Saturday, January 22, 2011

Om Shaniswaraya Namaha - About Shani Bhagawan




*** ஓம் சனிஸ்வராய நமஹா ***












"சனீஸ்வரர் மந்த்ரம்"



"சங்கடம் தீர்க்கும் சனி பகவானே



மங்களம் பொங்க மனம்வைத்தருள்வாய்


சச்சரவு இன்றி சனீஸ்வரத்தேவே


இச்சகம் வாழ இன்னருள் தா தா "
-----------


"நீலாஞ்சன சமாபாசம் ரவி புத்திரம் யமாகராஜம்


சாயா மார்த்தாண்ட சம்புதம்



தம் நமாமி சனைச்சரம் "




----------


காகத் வஜய வித்மஹீ கட்க ஸ்தாதீமஹீ


ன்நோ ந்ப்ரசூதயாத்











Shani Bhagavan is one of the nine Navagraha or planets. Shani is considered to be the strongest malefic and a stern teacher who represents patience, effort, endeavour, and endurance; and who brings restrictions and misfortunes. However, a favourably placed Shani on the horoscope of a person stands for a strong career, healthy life and everything positive for that person. In fact, a well-placed Shani in one's horoscope is something every astrology-believing Hindu hopes for, as no other 'graha' can bestow what a favourable Shani can. Shani placed "unfavourably", on the other hand, denotes troubles in all of the above. Shani is much feared by those Hindus who believe in astrology, as the "malefic" effects of his being unfavourably placed can be quite severe. However, it is to be remembered that any pleasure or pain that befalls a person during Shani's influence is not arbitrary; rather, it is the result of the person's own karma, now being manifested in the "presence" of Shani. Thus an "unfavourably placed" Shani brings about the harsh results of one's bad karma, and vice-versa.The diseases which Lord Shani gives are decay,constriction,poor blood supply,atrophy,etc. and at mental level narrow mind,low thinking.These diseases need to be cured by Lord Shani rules and regulations only.

The planet Shani or Saturn revolves around the Sun in about 30 years, which means it passes through all the 12 rashis or moonsigns in 30 years. Thus Shani Bhagavan spends on an average about two and half years in each rashi or moonsign. This movement of Shani through the moonsigns carries great importance in Hindu astrology and horoscope predictions. The effect of Shani starts when it enters the previous rashi/moonsign to one's own birth rashi and stops when it leaves the rashi/moonsign after one's birth rashi. The total period of 7.5 years (2.5 years × 3) is called Saadesaati or "Elanata Shani", and is typically a period of great difficulty. When it occurs for a person foregoing Shani Maha Dasha the malefic effects of the planet are highly pronounced. It is said that Shani can reduce even a king to a pauper during such period.

Shani rules the signs Makara (Capricorn) and Kumbha (Aquarius), is exalted in Tula (Libra) and is debilitated in Mesha (Aries). Mercury, Venus, Rahu, Ketu are considered friendly towards Shani or Saturn, while the Sun, Moon and Mars are enemies. Guru or Jupiter maintains neutral relations with Shani. Shani is the lord of three nakshatras or lunar mansions: Pushya, Anuradha and Uttara Bhadrapada.

Shani Bhagavan has the following associations: his color is black or dark blue, metal is iron and gemstone is Blue Sapphire. His element or tattva is air, direction is west (where the sun sets and darkness begins) and he rules all seasons. The traditional foods for Shani are sesame seeds or black gram, black lentils or udad, his flower is the violet and he is linked to all black animals and all trees that are considered useless and ugly.

Shani rules over masses. Without the planet's blessings in one's horoscope, a mass following is difficult to come by. It is said that an exalted Saturn in the ascendant (or Lagna) of one's horoscope awards one with such leadership position entailing fame from and recognition among masses. More over, such people are said to have high commitment and perseverance for the task at hand. On the other hand, a debilitated Saturn in one's horoscope makes one's 'Karma' weak and such individual with debilitated Saturn is said to have poor commitment and perseverance towards duties and hence suffers in the process of completing one's karmic obligations. Hence 'Moksha' is difficult to come by without Shaniswara's blessings in one's horoscope.

Lord Shaniswara is also known as Needhiman(Judge). He only troubles the person during his dasa for the wrong doings. Even in Shani Dosha, if a person is Righteous & Devoted he is sure to come out of this period without any ill effects.

Lord Shaniswara is more known for his Blessings than his ill effects. No other graha is comparable with Lord Shani in terms of blessings. He showers with his blessings at the end of his dasha.His Adi-Devata is Prajapati and Pratyadi-Devata is Yama. Lord Shani tests the person patience, He tries to correct our immoral acts by creating frustrations, and delays. In the end He makes one conscious enough to understand the mistakes. He removes ignorance from mind by punishment, the benefits that He matures the soul of being and person turns copper to gold from within i.e. he begins to understand the Truths of life, the futility of his actions done out of ignorance. One comes to understand after Lord Shani periods that not much is in control of human beings. It is all Divine acting on human beings through the agents of Gods. Lord Shani is the greatest purifier,everything false will perish and only Truth will shine, that is His message. People born on number 8 are ruled by Lord Shani in numerology. So it is believed 8,17, 26 born on any month will have hardships in their life. The hardship have a purpose and it is important to identify the purpose in this lifetime. Remedies of appeasing Shani,includes taking responsibility of wrong actions,self-analysis and hard work.Donation of black cloth on Saturdays and serving poor also helps.



*** ஓம் சனிஸ்வராய நமஹா ***

Tuesday, May 11, 2010

Crontab – Quick Reference

Setting up cron jobs in Unix and Solaris

cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.

This document covers following aspects of Unix cron jobs
1. Crontab Restrictions
2. Crontab Commands
3. Crontab file – syntax
4. Crontab Example
5. Crontab Environment
6. Disable Email
7. Generate log file for crontab activity

1. Crontab Restrictions
You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use
crontab 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. The allow/deny files consist of one user name per line.

2. Crontab Commands

export EDITOR=vi ;to specify a editor to open crontab file.

crontab -e Edit your crontab file, or create one if it doesn’t already exist.
crontab -l Display your crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)

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

* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)


* in the value field above means all legal values as in braces for that column.
The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).
Notes
A. ) Repeat pattern like /2 for every 2 minutes or /10 for every 10 minutes is not supported by all operating systems. If you try to use it and crontab complains it is probably not supported.

B.) The specification of days can be made in two fields: month day and weekday. If both are specified in an entry, they are cumulative meaning both of the entries will get executed .

4. Crontab Example
A line in crontab file like below removes the tmp files from /home/someuser/tmp each day at 6:30 PM.

30 18 * * * rm /home/someuser/tmp/*

Changing the parameter values as below will cause this command to run at different time schedule below :

min hour day/month month day/week Execution time
30 0 1 1,6,12 * – 00:30 Hrs on 1st of Jan, June & Dec.

0 20 * 10 1-5 –8.00 PM every weekday (Mon-Fri) only in Oct.

0 0 1,10,15 * * – midnight on 1st ,10th & 15th of month

5,10 0 10 * 1 – At 12.05,12.10 every Monday & on 10th of every month
:

Note : If you inadvertently enter the crontab command with no argument(s), do not attempt to get out with Control-d. This removes all entries in your crontab file. Instead, exit with Control-c.

5. Crontab Environment
cron invokes the command from the user’s HOME directory with the shell, (/usr/bin/sh).
cron supplies a default environment for every shell, defining:
HOME=user’s-home-directory
LOGNAME=user’s-login-id
PATH=/usr/bin:/usr/sbin:.
SHELL=/usr/bin/sh

Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.

6. Disable Email
By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .

>/dev/null 2>&1

7. Generate log file
To collect the cron execution execution log in a file :

30 18 * * * rm /home/someuser/tmp/* > /home/someuser/cronlogs/clean_tmp_dir.log

Wednesday, September 2, 2009

Shell Scripting - Help

Hi


Code:
-----
DB1=("SQLSERVER", "INGRES", "ORACLE");
for (( i = 0 ; i < ${#DB1[@]} ; i++ ))
do
echo ${DB1[$i]};
done

Result:
-------
SQLSERVER,
INGRES,
ORACLE


I do the following piece of code for listing the array values one by one and the result i get is as above. do any one know how to trim the "," which appears in the Result. I know it will work if we remove the "," while assigning values to a array variable like this DB1=("SQLSERVER" "INGRES" "ORACLE"); but i can't do it as i need "," in that place as i need to pass this value to another program with comma, Help me if you are the right one am asking about....

Thanks
M Harish Gautham

Thursday, August 27, 2009