cancel
Showing results for 
Search instead for 
Did you mean: 

UNIX SHELL SCRIPT

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

andreas_herzog
Active Contributor
0 Kudos

-> 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

Former Member
0 Kudos

Hi,

Answer above is correct. Additionally, you can specify command in sm49/sm69 and after that schedule it in background job.

Kind Regards,

Michael