- #! /bin/sh
- commandname=$1
- if [ $commandname = 'monitoringwatercat' ]
- then
- #php /var/www/app.tjzhxx.cn/think monitoringwatercat>>/var/monitoring/watercat/mdfile/`date +%Y%m%d%H%M%S`".md"
- echo 1
- fi
- if [ $commandname = 'Canceltop' ]
- then
- php /usr/phpprj/newwatercatserver/think Canceltop>>/var/log/phpcommandlog/$commandname/`date +%Y%m%d%H%M%S`".log"
- fi
|