#!/bin/bash basepath=$(cd `dirname $0`; pwd) cd $basepath nohup php ../artisan goods:task start >/dev/null 2>&1 & echo 'goods task runing ...'