07-20-2006
Hi Grial
Thanks for your suggestion. Following mail we recieve when I do so
*-*************************************************
Your "cron" job on mfrkuxwbd01
/opt/bea/wls61/config/dev05/batch_automation/batchPolicy/startBatchPolicy.sh > /opt/bea/wls61/config/dev05/batch_automation/batchPolicy/logs/batchPolicy.log
produced the following output:
/opt/bea/wls61/config/dev05/batch_automation/batchPolicy/startBatchPolicy.sh[6]: ./opt/bea/wls61/config/dev05/batch_automation/batch_settings.sh: not found
****************************************************
I am calling setEnv.sh ( here in this case its name is batch_settings.sh ) in my script as follows
. ./opt/bea/wls61/config/dev05/batch_automation/batch_settings.sh.
Regards
Pankaj
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I am trying to run a .sh file from cron but its not performing its intended purpose, though the same sh file works fine when triggered manually.Following mail I recieve when it tries to run the script.
*********************************************************
To: wlsdev05
Subject:... (16 Replies)
Discussion started by: pankajkrmishra
16 Replies
2. UNIX for Dummies Questions & Answers
Regarding Cron job,
i want to execute a scriptevery 4 days once irrespective of a week or a month.
Is it possible?Any help (2 Replies)
Discussion started by: santho
2 Replies
3. UNIX for Dummies Questions & Answers
can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!!
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
4. UNIX for Dummies Questions & Answers
I created a php script i want to run as a cronjob.
Where or how can I locate the cronjob file to add my script ? (3 Replies)
Discussion started by: dannyd
3 Replies
5. Solaris
I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically... (3 Replies)
Discussion started by: ron76
3 Replies
6. UNIX for Advanced & Expert Users
Hello,
Can anyone help me how to set any script as cron job. I have gone through all threads but not able to get the details. Appreciate your help.
I need to set test.pl to run on every Tuesday by 6am in the morning.
I do not the cron file which is defined.
Please help me out.
... (3 Replies)
Discussion started by: jam_prasanna
3 Replies
7. Solaris
Hi ,
I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility )
I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies
8. Shell Programming and Scripting
Hi
I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies
9. UNIX for Dummies Questions & Answers
How to schedule a cron job to run every other Monday.
Thanks in advance. (2 Replies)
Discussion started by: ITDev01
2 Replies
10. Shell Programming and Scripting
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies
LEARN ABOUT LINUX
snmpa_supervisor
snmpa_supervisor(3erl) Erlang Module Definition snmpa_supervisor(3erl)
NAME
snmpa_supervisor - A supervisor for the SNMP agent Processes
DESCRIPTION
This is the top supervisor for the agent part of the SNMP application. There is always one supervisor at each node with an SNMP agent (mas-
ter agent or sub-agent).
EXPORTS
start_sub_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason}
Types Opts = [opt()]
opt() = {db_dir, string()} | ...
Starts a supervisor for the SNMP agent system without a master agent. The supervisor starts all involved SNMP processes, but no
agent processes. Sub-agents should be started by calling start_sub_agent/3 .
db_dir is mandatory.
See configuration parameters for a description of the options.
start_master_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason}
Types Opts = [opt()]
opt() = {db_dir, string()} | {config, ConfOpts()} | ...
ConfOpts = [conf_opts()]
conf_opts() = {dir, string()} | ...
Reason = term()
Starts a supervisor for the SNMP agent system. The supervisor starts all involved SNMP processes, including the master agent. Sub-
agents should be started by calling start_subagent/3 .
db_dir is mandatory.
dir in config is mandatory.
See snmp config for a description of the options.
start_sub_agent(ParentAgent,Subtree,Mibs) -> {ok, pid()} | {error, Reason}
Types ParentAgent = pid()
SubTree = oid()
Mibs = [MibName]
MibName = [string()]
Starts a sub-agent on the node where the function is called. The snmpa_supervisor must be running.
If the supervisor is not running, the function fails with the reason badarg .
stop_sub_agent(SubAgent) -> ok | no_such_child
Types SubAgent = pid()
Stops the sub-agent on the node where the function is called. The snmpa_supervisor must be running.
If the supervisor is not running, the function fails with the reason badarg .
Ericsson AB snmp 4.19 snmpa_supervisor(3erl)