NETWORK PRESENCE ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT
 


Search
display results
words begin  exact words  any words part 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [FW1] Cron to schedule logswitch and ftp



# rotate CheckPoint logs just before midnight
#
59 23 * * * FWDIR=/opt/CPfw1-41; /opt/CPfw1-41/bin/fw logswitch 2> /dev/null
#

Chris

-----Original Message-----
From: Jason Witty [mailto:[email protected]]
Sent: Tuesday, January 23, 2001 1:40 PM
To: Gus Reyes
Cc: [email protected]
Subject: Re: [FW1] Cron to schedule logswitch and ftp



Put the full path in for the 'fw' command.  Either that or make sure
that the $FWBIN variable is in root's path statement.

Hope this helps!

Jason

Gus Reyes wrote:
> 
> Does anyone know how to automate logswitch using cron in IPSO on Nokia?
> 
> I'm using cron to execute a .sh file that has the following command:
> 
> fw logswitch oldlog
> 
> But when cron calls up this file, it reads the command but fails reporting
> ...: 'not found'
> 
> I run the command manually and it runs just fine.
> 
> Any ideas?
> 
> Gus
> 
>
============================================================================
====
>      To unsubscribe from this mailing list, please see the instructions at
>                http://www.checkpoint.com/services/mailing.html
>
============================================================================
====


============================================================================
====
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
============================================================================
====


================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================



 
----------------------------------

ABOUT SERVICES PRODUCTS TRAINING CONTACT US SEARCH SUPPORT SITE MAP LEGAL
   All contents © 2004 Network Presence, LLC. All rights reserved.