Skip to Content
author's profile photo Former Member
Former Member

UNIX SHELL SCRIPT

I need to run a UNIX SHELL script on daily basis.Could you please tell me the procedure .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 20, 2006 at 07:00 AM

    -> what kind of shell script?

    on a daily basis...run (as root) crontab -e, edit the appropriate command and save your input...

    example:

    00 04 * * 1-7 su - ora<sid> -c "brconnect -u / -c -f stats -t ALL -p 4" 1>/dev/null 2>/dev/null

    00 = minutes

    04 = hour

    • = month

    • = year

    1-7 = days of the week (eg. monday till sunday)

    this command would do a brconnect ... each day at 4:00 clock in the morning, each month (= *) and each year (= *)...

    GreetZ, AH

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2007 at 07:37 AM

    u can use crontab for firing automatic shell script without any intervation.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.