I have two splunk scripts one to Run at 30 minutes and another one at 120 minutes between 00.00 to 06.00.
Now I would like to hold 30 minutes script not to run between this timeframe. How to do this one from splunk.
I have two splunk scripts one to Run at 30 minutes and another one at 120 minutes between 00.00 to 06.00.
Now I would like to hold 30 minutes script not to run between this timeframe. How to do this one from splunk.
Change the 30-minute script to run on a cron schedule rather than every thirty minutes. Use 0/30 7-23 * * *
as the schedule. This tells the script to run every 30 minutes from 0700 until 23:30. If that cron string doesn't work, try 0,30 7-23 * * *
.