OS: Ubuntu 18.04
Cron: cron/bionic,now 3.0pl1-128.1ubuntu1 amd64
System timezone is: America/Los_Angeles (PST)
I want to set timezone of an EXECUTION TIME (not the timezone for the script) for specific job to America/New_York (EST).
Example: I want the script to execute at 3pm (EST-New_York) which is 12pm (PST-Los_Angeles, local system time)
Tried, with no success:
0 15 * * * CRON_TZ=America/New_York /script/path/here
0 15 * * * CRON_TZ="America/New_York" /script/path/here
0 15 * * * TZ=America/New_York /script/path/here
0 15 * * * TZ="America/New_York" /script/path/here
0 15 * * * CRON_TZ=America/New_York /script/path/here
CRON_TZ="America/New_York"
0 15 * * * /script/path/here
CRON_TZ=America/New_York
0 15 * * * /script/path/here
TZ="America/New_York"
0 15 * * * /script/path/here
TZ=America/New_York
0 15 * * * /script/path/here
Is there a solution to this at all?