cron.ksh revision 642
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# To activate an ssh agent for your current shell, do
#
# $ eval `ssh-agent`
# $ ssh-add
#
# The ssh-add will iterate through your configured keys, asking for
# passwords for each. It then caches the decrypted keys so that it can
# supply credentials to a requesting server automatically.
# echo "log: Give the SSH agent some keys."
#
# exit 1
# fi
cd $DATA_HOME
# scp -C -i key Tpkgstats@pkg.opensolaris.org:/var/apache2/logs/access_log access_log
# rsync -zP --rsync-path=/opt/sfw/bin/rsync Asch@pkg.opensolaris.org:/var/apache2/logs/access_log access_log