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
  • 2
  • 2
LVL 37

Expert Comment

by:Harisha M G
ID: 16986921


LVL 61

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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
UNiX Script filesystem space usage Part2 54 78
Invalid password trying to cannect to Unix server 2 68
Unix/bash: scripted arithmetic 13 92
Martian Packets Unix 5 28
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now