Leaked source code of windows server 2003
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.

39 lines
476 B

  1. #
  2. #
  3. #
  4. file=$1
  5. num=$2
  6. if [ "$file" = "" ]; then
  7. echo "Usage: $0 <filename> <number of times>"
  8. exit 10
  9. fi
  10. jobbase=`date |sed 's/ /_/g'`
  11. i=0
  12. while [ $i -lt $num ]; do
  13. job="${jobbase}_$i"
  14. cscript test1_CreateJob.vbs $job 1 false true
  15. cscript test4_SetData.vbs $job `cygpath -w $file`
  16. i=`expr $i + 1`
  17. done
  18. i=0
  19. while [ $i -lt $num ]; do
  20. job="${jobbase}_$i"
  21. cscript test5_ActivateAsync.vbs $job
  22. i=`expr $i + 1`
  23. done