Regarding cron

Posted on 2006-06-26
Last Modified: 2012-06-21
Are the crons are running under GMT time or it runs under timezone that is set under TZ env variable?
Question by:pigeon5566
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 37

Expert Comment

by:Harisha M G
ID: 16986921


LVL 62

Expert Comment

ID: 16996890
It runs at TZ set at system boot.

Users can set own TS's

crontab command line tool does TZ calculations, so users use their TZ.

Author Comment

ID: 17016330
So it will take TZ value and run according to that. Hope i am correct?
LVL 37

Accepted Solution

Harisha M G earned 25 total points
ID: 17019829
LVL 62

Expert Comment

ID: 17022715
It will perfectly obey TZ value... i.e. even when cron runs in one timezone, user can correctly submit jobs in another.

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question