The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.01
seconds.
Search:
Posts Made By:
judi
Forum:
Solaris
02-15-2013
12
Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output
3,840
Posted By
jlliagre
Setting the expected timezone in the script...
Setting the expected timezone in the script called from cron should workaround the issue, eg:
#!/bin/ksh
export TZ=Europe/Paris
DT=`date '+%y%m%d-%H:%M'`
LOG=/tmp/test.out
echo $DT >>...
Forum:
Solaris
02-20-2013
12
Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output
3,840
Posted By
RudiC
Put a TZ assignment into either crontab (man...
Put a TZ assignment into either crontab (man crontab) or /etc/profile (or whatever file will be used by the shell cron is running as the default ).
Showing results 1 to 2 of 2
Member Badges and Information Modal
×