I have a script which is scheduled in the Cron. It runs every 10th and 40th min of an hour.The job has to run every 30min.
But, I do not want to have the 00:10 MST run every day.Is it possible to exclude that run from the schedule?Or any other way through which i can run my job every 30 min and it doesn't come at 00:10 MST.
Before executing your main script,
Just add the one more if condition for TimeStamp checking.
If [ $CurrentTimeStamp == "00:10 MST" ]
then
exit
echo "Execution of main script Stopped successfully."
echo " Current DateTime is: $CurrentTimeStamp "
fi