Getting Data In

How do I set the CRON job for scripted inputs so that the timezone is not UTC?

andrewtrobec
Motivator

Hello,

I have a scripted input with a CRON set to 50 5-23 * * * so that it "sleeps" between the hours of midnight and 6AM.  I noticed, however, that the script is "sleeping" between the ours of 2AM and 8AM.  After investigating I discovered that the CRON was running with UTC time standard and not my time zone, which is currently CEST.

How do I set it to run in line with my timezone instead of the UTC time standard?  With other objects like saved searches the timezone is retrieved from the account that owns the object, but with scripted inputs I don't see this option.

Thanks!

Andrew

Labels (2)
0 Karma

burwell
SplunkTrust
SplunkTrust

Hi. Just reading this one.. so your scripted input doesn't really belong to a user the way a knowledge object like a savedsearch AFAIK. So I would imagine the cron schedule is based on the timezone of the server it runs on.

larry02
New Member

For some of the users,  the server limits the cron use.  EasyCron is an option. To those who don't know how to use crontab, EasyCron is a great alternative 🙂

0 Karma
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!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...