#!/bin/sh
#
#
# (c) 2002 Sun Microsystems, Inc. Use is subject to license terms.  

# change the path to your needs
F=/tmp/migration.out

touch $F
echo ----------------------------------  >> $F 2>&1
echo I am: `id`				 >> $F 2>&1
echo Migrate command called at `date`    >> $F 2>&1
echo Myargs: $*				 >> $F 2>&1
echo done				 >> $F 2>&1
echo                                     >> $F 2>&1

echo Migration command: /usr/bin/checkpoint -k -U -c sge_$1 -$2 >> $F 2>&1
/usr/bin/checkpoint -k -U -c sge_$1 -$2                         >> $F 2>&1
