Solved

Regarding cron

Posted on 2006-06-26
5
569 Views
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?
0
Comment
Question by:pigeon5566
  • 2
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Harisha M G
ID: 16986921
Hi,

TZ


---
Harish
0
 
LVL 62

Expert Comment

by:gheist
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.
0
 

Author Comment

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

Accepted Solution

by:
Harisha M G earned 25 total points
ID: 17019829
Yes.
0
 
LVL 62

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

832 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