Guys,
You need to add the following to your script, for example, I have R55w so
your path
may be different for FP3 and AI:
source /opt/CPshrd-R55/tmp/.CPprofile.csh
After that, your script will work. However, I think you need to perform
something
like this in your script "echo yes" so that it will understand the carriage
return.
This is my script to stop the MDS in NG with AI R55(w):
#!/usr/bin/sh
source /opt/CPshrd-R55/tmp/.CPprofile.csh
cd /tmp
/opt/CPmds-R55/scripts/mdsstop
Good luck
chkp tech <chkptech AT GMAIL DOT COM> wrote:
Greetings,
You'll need to modify the script to import Check Point's environment
settings. The command would look something like this:
. /path/to/.CPprofile.sh
Then if that doesn't resolve the issue, add a few echo commands to see where
in the script it actually fails.
Jason
On 3/31/06, Tom Louis wrote:
>
> When I take the settings that I put in the crontab and paste them into
> command line it runs fine.
>
> I look under /log/cron and I see that it issued a commad to run the
> mdsbackup command but that is all I get.
>
> =================================================
> To set vacation, Out-Of-Office, or away messages,
> send an email to LISTSERV AT amadeus.us.checkpoint DOT com
> in the BODY of the email add:
> set fw-1-mailinglist nomail
> =================================================
> To unsubscribe from this mailing list,
> please see the instructions at
> http://www.checkpoint.com/services/mailing.html
> =================================================
> If you have any questions on how to change your
> subscription options, email
> fw-1-owner AT ts.checkpoint DOT com
> =================================================
>
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low
rates.
=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================
|