#!/bin/bash
TODAY=`date +"%d %b %Y %H:%M:%S"`
usrPATH='/var/www/html/sociallabs/public/stcm_backend_web/API'

sudo php -f ${usrPATH}/ServiceAuto.php

echo "STCM Service executed at ${TODAY}" >> ${usrPATH}/log/stcm_service.log