03-13-2007
Please see my replies below:
Reply to [MA]Flying_Meat:
Your guess is my guess. Somehow the cron entry is taking the parmeter 2 as redirection (to /dev/null). Actually I tested with assigning $1 to a variable immediately also inside the script. That did not work either.
Reply to sb008:
Here is the ouput from test.sh script you provided.
3
1 2 3
1 2 3
Reply to Perderabo:
There is nothing special in .profile, except export statements for Oracle.
Still could not figure out what the problem was. Any help is appreciated.
Thanx..
-Bheem
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm a newbie in scripting attempting to create a script where i can submit a job (in maestro/tivoli) with parameters,in maestro CLI i can do that no problem,i'm thinking about creating a script that will accept input while the script is executing, more like below structure:
exec the script
-... (1 Reply)
Discussion started by: Kirojin
1 Replies
2. Solaris
I am trying to setup cronjob and once I start to save it is not working. This is what I am getting after I executed crontab -e, I am not even getting the privious entry and I am running from root.
crontab -e
421
10 3 * * * /usr/sbin/logadm
?
:wq
?
Why is it not saving? Any input is... (4 Replies)
Discussion started by: mokkan
4 Replies
3. Solaris
new to unix here, im learning how to schedule jobs with crontab. The following cron job runs under root but not under a test account i created.
50 11 * * 0 /usr/bin/banner "HELLO" > /dev/console
i have no idea with it isn't running under the test account but runs right on time when i create... (7 Replies)
Discussion started by: solne
7 Replies
4. Shell Programming and Scripting
I have a simple procedure which accepts two input parms and returns and output count:
CREATE OR REPLACE Procedure GET1 ( IN_FOLDER IN VARCHAR2,
IN_SUBJECT_AREA IN VARCHAR2,
OUT_CNT IN OUT VARCHAR2
)
AS
BEGIN
... (2 Replies)
Discussion started by: Hangman2
2 Replies
5. Shell Programming and Scripting
Hello All,
I want to run a script for every 5 minutes interval.So i developed a script which has to be scheduled to run for every 5 minutes. That script internally runs another script. But the problem is it is not executing properly. Can anybody throw some light on this.
Below are the code... (4 Replies)
Discussion started by: RSC1985
4 Replies
6. UNIX for Dummies Questions & Answers
I have created a cron job for the vtiger workflow to execute the shell file named com_vtiger_workflow.sh to run the workflow.
I've created the following line in crotab -e :
00 13 * * * /var/www/html/prashant/cron/modules/com_vtiger_workflow/com_vtiger_tiger_workflow.sh | mail -s 'Check... (2 Replies)
Discussion started by: anaigini45
2 Replies
7. Shell Programming and Scripting
Hi ,
I have a TCL script which i am supposed to run as a cron job..
The script works fine from command line , but when run as a cron job , its unable to find a package,,
my crontab is as follows.
---------------------------
#!/usr/bin/ksh
* * * * * PATH=/cm8/auto/Automation/Library/TclLib
... (7 Replies)
Discussion started by: Sudharshana
7 Replies
8. UNIX for Dummies Questions & Answers
I have a perl script which Im planning to run every minute.
I have set the cron job as
* * * * * PATH= /usr/local/bin:/usr/bin:/usr/sbin:/usr/lib; perl /dm2/www/html/isos/pre5.3/autoDownload.pl
I assume the script is executing every minute only because I see a entry like below when I do... (2 Replies)
Discussion started by: srijith
2 Replies
9. Solaris
When i am trying to open crontab throught command crontab -e. It is not opening?
OUTPUT:
# crontab -e
sh: vim: not found
The crontab file was not changed.
Please let me know how to open and edit it??? (10 Replies)
Discussion started by: kkalyan
10 Replies
10. Shell Programming and Scripting
HI,
I have written an executable file in unix and I was able to execute it successfully but when I called this file with cron job it was giving error like "permission denied" and "No such file or directory".
Please help in how cron calls the file and what permission is required on the file... (2 Replies)
Discussion started by: vipin kumar rai
2 Replies
LEARN ABOUT LINUX
cosnotifychanneladmin_structuredproxypushsupplier
CosNotifyChannelAdmin_StructuredProxyPushSupplier(3erl) Erlang Module Definition CosNotifyChannelAdmin_StructuredProxyPushSupplier(3erl)
NAME
CosNotifyChannelAdmin_StructuredProxyPushSupplier - This module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushSupplier
interface.
DESCRIPTION
To get access to the record definitions for the structures use:
-include_lib("cosNotification/include/*.hrl").
This module also exports the functions described in:
* CosNotifyComm_NotifySubscribe
* CosNotification_QoSAdmin
* CosNotifyFilter_FilterAdmin
* CosNotifyChannelAdmin_ProxySupplier
EXPORTS
connect_structured_push_consumer(StructuredProxyPushSupplier, PushConsumer) -> Reply
Types StructuredProxyPushSupplier = #objref
PushConsumer = #objref
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION', #'CosEventChannelAdmin_TypeError'{}}
This operation connects a PushConsumer to the target object. If a connection already exists or the function push_structured_event is
not supported by the client object an exception is raised.
suspend_connection(StructuredProxyPushSupplier) -> Reply
Types StructuredProxyPushSupplier = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_Not-
Connected'{}}
This operation suspends the connection with the target object. If no connection exists or the connection already is suspended an
exception is raised.
resume_connection(StructuredProxyPushSupplier) -> Reply
Types StructuredProxyPullConsumer = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_Not-
Connected'{}}
If the connection with the target object have been suspended this function must be used to resume the connection. If no client have
been connected or the connection is active an exception is raised.
disconnect_structured_push_supplier(StructuredProxyPushSupplier) -> ok
Types StructuredProxyPushSupplier = #objref
This operation cause the target object to close the connection and terminate.
Ericsson AB cosNotification 1.1.16 CosNotifyChannelAdmin_StructuredProxyPushSupplier(3erl)