I have created user and set timezone different from root user timezone in .bash_profile of user using TZ command,
i have created cronjob for user using crontab -e, my concern is that job schedule in cronjob must executive as per timezone of user , but i am getting that job schedule in cron of user are getting execute by considering time of root user not of created user.
Please suggest me some solution so that job schedule in user's cronjob must get execute at user's timezone, not at root timezone.
Cron will be executed by the root user, not by the user for which cron is scheduled, so you need re arrange the cron timing such that it works using root user time zone.
Thanks very much kumaran for prompt reply.
Is there any way by which we can make cronjob to be get execute at user's timezone not by user's timezone.
I am using redhat 4
I don't think it would be possible to do it that. Because the your user's time is relative to the system time. you can't set a different time for a user but only time zone.