You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
419 B
25 lines
419 B
#
|
|
#
|
|
#
|
|
|
|
if [ "$1" = "" -o "$2" = "" ]; then
|
|
|
|
echo "Usage: $0 <filename> <filename>"
|
|
exit 10
|
|
|
|
fi
|
|
|
|
job=`date |sed 's/ /_/g'`
|
|
|
|
|
|
|
|
# 2 = Keep Log and Data
|
|
history=2
|
|
compressed=true
|
|
persist=true
|
|
|
|
cscript test3_DeleteAllJobs.vbs
|
|
cscript test1_CreateJob.vbs $job $history $compressed $persist
|
|
cscript test4_SetData.vbs $job `cygpath -w $1`
|
|
cscript test4_GetData.vbs $job `cygpath -w $2`
|
|
|