I have the following entry in my crontab:
0 0 * * * /home/.../toto.sh > /home/.../toto.log 2>&1
Because my time zone is +9 that servers one, my script is running at 9:00 am instead of midnight. I set the timezone environnement variable and I get the correct system date but the script is still running at 9:00 am.
I read in the wiki that "Due to security concerns, DreamHost cron does NOT have an environment", so i guess that TZ variable is not taken in account.
Is there another way to make my script run at the correct time?