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

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

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