Thursday, April 09, 2009

run cron job in seconds

while scheduling a cronjob i found out that cron wakes up every minute and executes the jobs for that minute. i needed to run a job every 30 seconds. so what to do. i was confused. later i searched for it and found out it is too simply done. just add another entry that will sleep 30 seconds and execute the job. add these lines in the crontab -

00-59 * * * * root sh /home/me/myscript.sh
00-59 * * * * root sleep 30 && sh /home/me/myscript.sh

423 comments:

«Oldest   ‹Older   401 – 423 of 423
Trees Planet said...

Very interesting and funny post. I like it. And so many comments here.

Gargi Bose said...

Let your brother feel happy and smiling on this Rakhi festival by delivering your thread of love best available in our online store. Just click at link www.rakhiworldwide.com/rakhigifts/send_rakhi_to_Delhi.asp and Send Rakhi to Delhi.

Unknown said...

Rat, Mice, Lizard, Cockroach, Snakes’ is your problem? / use TELE NET ultrasonic pestrepeller this are Eco friendly pollution free. No chemical consumable or refill expenses.Login www.telenetltd.net or call
91 033 2424 7099

Unknown said...

If you are looking to send family or friends a holiday treat, our new Gift Baskets Middletown Nj will be sure to please! suzisweetshoppe.com

Anonymous said...

Myflowertree:We are fully professional in sending flowers and bouquets on time to any region small or big of India on time.
send flower to bhopal

rupinder said...

Flowers, Florist, India, Flowers to India, Send flowers to India, Gifts to India, Send Gifts to India Online Florists, Online delivery of flowers, Send Flower to India, Same day delivery, Anniversary, Birthday, Wedding flowers, Cakes to India, Sweets to India, Dry Fruits to India, Chocolates to India, Bangalore, Chennai, Calcutta, Delhi, Hyderabad, Kolkata, Mumbai, Floral India, Flowers to India, Wedding Flowers, Red Roses, Valentine's Gift India, Valentines Flowers India, Valentine's Flowers, Valentine's Flowers to India

send flowers, flowers delivery, buy flowers online, send flowers online, online florist, gifts to India, cakes to indie, gift baskets, plants, same day flowers delivery, send flowers online to India, sending gifts to India, send cakes to India, flowers delivery to India, flowers to indie, same day flowers to India, best florists in India, online flowers to India, flowers for delivery, order flowers online, buy flowers in India

Send Flowers to India

Unknown said...


Welcome to MyFlowerGift.Here We are leading Online gift,cake and florist in all over india.You may include cake or many more flowers,gifts items fast delivery to make your beloved one happy.
send flowers to kolkata

Send Flowers Online said...

Celebrating the happy occasion with gifts,are bright, colourful, sweet, and perfect to cheer your loved ones living anywhere worldwide.
Send Flowers Online to Calicut

Gifts to India said...

Nice blogs ! Thanks for Sharing.
http://www.indiangiftscenter.com

Gargi Bose said...

Flowers, cakes and wines make triple dose of celebration. Celebrate with your dear ones staying far away in Singapore along with the collections of www.singaporeflowersdirect.com that allows you to connect with your dear ones. Send Flowers to Singapore Online that also provides you with online delivery facility.

Anonymous said...

You can learn sports.

Paper testing said...

online flowers and cake delivery in india

Paper testing said...

Send Online Flowers now time to go pro !!

Unknown said...

Present gift to your dear ones on this great occasion. Online & Offline Gift Shopping Coimbatore. Buy your favorite gift & craft items at low price.

Flowers N Wishes said...

Send flowers to Chandigarh and cakes to Chandigarh. Order cakes, cakes and flowers online in Chandigarh & all over India with same day delivery Send flowers to Chandigarh, send cakes to Chandigarh, flowers to Chandigarh, cakes to Chandigarh, flowers delivery in Chandigarh, Chandigarh florist, order flowers in Chandigarh, same day flowers in Chandigarh Send Flowers to Chandigarh, Send cakes to Chandigarh, Florist in Chandigarh, send valentine flowers and Cakes, Chocolates to Chandigarh

Chandigarh Florist, Send Flowers to Chandigarh

Flowers N Wishes said...

Send flowers to Chandigarh and cakes to Chandigarh. Order cakes, cakes and flowers online in Chandigarh & all over India with same day delivery Send flowers to Chandigarh, send cakes to Chandigarh, flowers to Chandigarh, cakes to Chandigarh, flowers delivery in Chandigarh, Chandigarh florist, order flowers in Chandigarh, same day flowers in Chandigarh Send Flowers to Chandigarh, Send cakes to Chandigarh, Florist in Chandigarh, send valentine flowers and Cakes, Chocolates to Chandigarh

Chandigarh Florist, Send Flowers to Chandigarh

Unknown said...

am so impress to see your this blog thanks to sharing us . Valentine Day Flower Delivery In India

Apple Lab said...

ei gaan ti apnader shathe share korcchi , oshadharon ekti notun projonme'r bangla gaan... erokom gaan amader aro dorkar.. it talks of letting go and moving forward to a new destination, new opportunities.

http://youtu.be/HAFqP6YRcws
asha kori apnader bhalo lagbe, bhalo lage share koruun!!

Apple Lab said...

ei gaan ti apnader shathe share korcchi , oshadharon ekti notun projonme'r bangla gaan... erokom gaan amader aro dorkar.. it talks of letting go and moving forward to a new destination, new opportunities.

http://youtu.be/HAFqP6YRcws
asha kori apnader bhalo lagbe, bhalo lage share koruun!!

Unknown said...

Great Post!
Online Cake Delivery in Hyderabad
Order Cake Online Hyderabad
Send Cakes to Hyderabad

BabulalKol đŸĻŽ said...

Web Design company in alipurduar

SEO Service in Siliguri

Website Design Company in Siliguri

Top 10 Hindi Blog

most popular hindi blogs

Happy Republic day

Happy New Year

Top 10 Tech Blog

Alipurduar Official Website

Alipurduar

Alipurduar junction










Aman said...

Nice post Place order to send Cakes to India .. https://www.indiaflowermall.com/cake.htm

Anonymous said...

How I became a happy woman again
With tears of joy and happiness I am giving out my testimony to all viewers on line, my problem with Stomach Cancer stage IB and HIV has caused me many pains and sadness especially in my family.
I was so afraid of loosing my life, I suffered the embarrassment of visiting
therapy hundreds of times, unfortunately they did not find a definitive solution to my problem, I cried all day and night, do I have to live my life this way? I searched all true the internet for care, I was scammed by internet fraudsters times without numbers… until a friend of mine who stays in the UK introduced me to a friend of hers who was cured of the same disease, and she introduced me to Dr Itua who cured her from Breast Cancer by this email/WhatsApp +2348149277967, drituaherbalcenter@gmail.com. I contacted him and he promised that all will be fine and I had faith.He sent me his herbal medicines through Courier service and i was instructed on how to drink it for three weeks to cure,I followed the instruction given to me and Today am a happy woman again. He cures all kind of diseases like,Brain cancer,Gestational trophoblastic disease,Head and neck cancer,Ovarian cancer,Hodgkin lymphoma,Herpes,,Liver cancer,Throat cancer,Syndrome Fibrodysplasia Ossificans ProgresS sclerosis,Alzheimer's disease,Chronic Diarrhea,Copd,Parkinson,Als,Adrenocortical carcinoma Infectious mononucleosis,Intestinal cancer,Thyroid Cancer,Uterine cancer,Fibroid,Angiopathy, Ataxia,Arthritis,Amyotrophic Lateral Sclerosis,Brain Tumor,Fibromyalgia,Fluoroquinolone ToxicityBladder cancer,Hiv,Esophageal cancer,Gallbladder cancer,Kidney cancer,Hpv,Lung cancer,Melanoma,Mesothelioma,Multiple myeloma,Neuroendocrine tumors
Non-Hodgkin lymphoma,Oral cancer,Sinus cancer,Hepatitis A,B/C,Skin cancer,Soft tissue sarcoma,Appendix,Spinal cancer,Stomach cancer,Vaginal cancer,Vulvar cancer,Testicular cancer,Tach Diseases,Leukemia.

«Oldest ‹Older   401 – 423 of 423   Newer› Newest»

About Me

the most common nick i got from my friends is angry-kid or anger management(needed). i normally see the glass half empty. the ideas i believe in are mostly laughed at by people. as much irritated, saddist pessimistic as a human being can be....X-(