Search Results

Search: Posts Made By: judi
Forum: Solaris 02-20-2013
3,709
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 ).
Forum: Solaris 02-15-2013
3,709
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 >>...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy