Getting Data In

Scheduling in db connect

a212830
Champion

Hi,

I want db connect to grab data at 1:00 am every day. I tried the following, and it gets spit out with an error:

00 01 * * 0-6

I also tried the documented example (30 18 * MON-FRI *), but it errors out as well.

2013-04-02 06:56:36.093 dbx4768:ERROR:Scheduler - Error while reloading database input=dbmon-tail://TQ/HINVDEVS
com.splunk.config.SplunkConfigurationException: Invalid interval value=30 18 * MON-FRI * for stanza dbmon-tail://TQ/HINVDEVS

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

The cron schedule 30 18 * MON-FRI * is invalid because you have MON-FRI as the month value (minute, hour, day, month, weekday). 0 1 * * MON-FRI should work though.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

The cron schedule 30 18 * MON-FRI * is invalid because you have MON-FRI as the month value (minute, hour, day, month, weekday). 0 1 * * MON-FRI should work though.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...