Help for this page

Select Code to Download


  1. or download this
    BASE=$(cd $(dirname $0); pwd)
    echo $DAYS
    ...
    wait
    echo "Import done"
    rm $DB_SEMAPHORE
    
  2. or download this
    (cd ..; tail -f $DB_SEMAPHORE | xargs -i ./load.sh {} >>$BASE/import.log )&
  3. or download this
    ../runN -n 4 ./convert-wp-for-import.sh $DAYS
  4. or download this
    use strict;
    use Magic::Parallel max_parallel => 4;
    ...
        system("load_db.sh $payload") == 0
            or warn "Couldn't launch: $!/$?";
    });