#!/bin/bash spath="$(readlink -n -f "$0")" cd "$(dirname "$spath")" /usr/bin/php CoCointerface.php 1> /dev/null 2>>/var/log/coco_error.log