hi,
i have shell script which checks for service running on platform,
if service is receiving calls, then do nothing
if service is not receiving calls, then stop the service
i want to run this script in 2 timeslots.
i.e. in the day from 9 am to 5 pm it should run every 10 minutes
and
from 5 pm to next morning 9 am , it should run every 1 hour
can i schedule the running of script using crontab this way?
kindly provide inputs
thanks in advance